add upload_document action

This commit is contained in:
j 2014-01-03 01:09:21 +05:30
commit 60622ee843
2 changed files with 38 additions and 2 deletions

View file

@ -37,7 +37,7 @@ if __name__ == '__main__':
parser.print_help()
sys.exit(1)
actions = ('scan', 'sync', 'upload', 'upload_frames', 'extract', 'clean', 'cmd', 'import_srt')
actions = ('scan', 'sync', 'upload', 'upload_frames', 'extract', 'clean', 'cmd', 'import_srt', 'upload_document')
config = ('config', 'add_volume')
server = ('server', 'client')
if not args or args[0] not in actions + config + server: