Created
September 28, 2016 15:40
-
-
Save dlundgren/06c156b1ab6d54b1a64be32c87838bc2 to your computer and use it in GitHub Desktop.
changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/script/spider.py b/script/spider.py | |
index d8e4c66..66038f9 100644 | |
--- a/script/spider.py | |
+++ b/script/spider.py | |
@@ -1,7 +1,7 @@ | |
import argparse | |
from utils import ip_address, config_file | |
from packtpub import Packpub | |
-from upload import Upload, SERVICE_DRIVE, SERVICE_DROPBOX | |
+#from upload import Upload, SERVICE_DRIVE, SERVICE_DROPBOX | |
from notify import Notify | |
from logs import * | |
@@ -20,7 +20,7 @@ def main(): | |
parser.add_argument('-c', '--config', required=True, help='configuration file') | |
parser.add_argument('-d', '--dev', action='store_true', help='only for development') | |
parser.add_argument('-e', '--extras', action='store_true', help='download source code (if exists) and book cover') | |
- parser.add_argument('-u', '--upload', choices=[SERVICE_DRIVE, SERVICE_DROPBOX], help='upload to cloud') | |
+ parser.add_argument('-u', '--upload', choices=['google','dropbox'], help='upload to cloud') | |
parser.add_argument('-a', '--archive', action='store_true', help='compress all file') | |
parser.add_argument('-n', '--notify', action='store_true', help='notify via email') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment