|
9 | 9 | from upload import Upload, SERVICE_GOOGLE_DRIVE, SERVICE_ONEDRIVE, SERVICE_DROPBOX, SERVICE_SCP |
10 | 10 | from database import Database, DB_FIREBASE |
11 | 11 | from logs import * |
12 | | -from notify import Notify, SERVICE_GMAIL, SERVICE_IFTTT, SERVICE_JOIN |
| 12 | +from notify import Notify, SERVICE_GMAIL, SERVICE_IFTTT, SERVICE_JOIN, SERVICE_PUSHOVER |
13 | 13 | from noBookException import NoBookException |
14 | 14 | from alreadyClaimedException import AlreadyClaimedException |
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 |
|
|
0 commit comments