|
9 | 9 | fromuploadimportUpload,SERVICE_GOOGLE_DRIVE,SERVICE_ONEDRIVE,SERVICE_DROPBOX,SERVICE_SCP |
10 | 10 | fromdatabaseimportDatabase,DB_FIREBASE |
11 | 11 | fromlogsimport* |
12 | | -fromnotifyimportNotify,SERVICE_GMAIL,SERVICE_IFTTT,SERVICE_JOIN |
| 12 | +fromnotifyimportNotify,SERVICE_GMAIL,SERVICE_IFTTT,SERVICE_JOIN,SERVICE_PUSHOVER |
13 | 13 | fromnoBookExceptionimportNoBookException |
14 | 14 | fromalreadyClaimedExceptionimportAlreadyClaimedException |
15 | 15 |
|
@@ -67,7 +67,7 @@ def main(): |
67 | 67 | parser.add_argument('-e','--extras',action='store_true',help='download source code (if exists) and book cover') |
68 | 68 | parser.add_argument('-u','--upload',choices=[SERVICE_GOOGLE_DRIVE,SERVICE_ONEDRIVE,SERVICE_DROPBOX,SERVICE_SCP],help='upload to cloud') |
69 | 69 | parser.add_argument('-a','--archive',action='store_true',help='compress all file') |
70 | | -parser.add_argument('-n','--notify',choices=[SERVICE_GMAIL,SERVICE_IFTTT,SERVICE_JOIN],help='notify after claim/download') |
| 70 | +parser.add_argument('-n','--notify',choices=[SERVICE_GMAIL,SERVICE_IFTTT,SERVICE_JOIN,SERVICE_PUSHOVER],help='notify after claim/download') |
71 | 71 | parser.add_argument('-s','--store',choices=[DB_FIREBASE],help='store info') |
72 | 72 | parser.add_argument('-o','--claimOnly',action='store_true',help='only claim books (no downloads/uploads)') |
73 | 73 |
|
|