Skip to content

Commit c54989e

Browse files
authored
Merge pull request #12 from vietma/add_indexZip_for_upload
added a third parameter to allow index-zip for the upload action
2 parents 2a50ee6 + aae4e65 commit c54989e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cms_netstorage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def print_result(response, action):
111111
elif options.action == 'symlink':
112112
ok, res = ns.symlink(args[0], args[1])
113113
elif options.action == 'upload':
114-
ok, res = ns.upload(args[0], args[1])
114+
ok, res = ns.upload(args[0], args[1], args[2])
115115
elif options.action == 'rename':
116116
ok, res = ns.rename(args[0], args[1])
117117
else:

0 commit comments

Comments
 (0)