Fixed print on py script.
This commit is contained in:
@@ -43,7 +43,7 @@ def main():
|
|||||||
asset_url = t.expand(name = options.remote)
|
asset_url = t.expand(name = options.remote)
|
||||||
r = requests.post(asset_url, headers = headers, data = open(options.local, 'rb').read(),verify=False)
|
r = requests.post(asset_url, headers = headers, data = open(options.local, 'rb').read(),verify=False)
|
||||||
s = 'File ' + options.local + ' has been uploaded as ' + options.remote + '.'
|
s = 'File ' + options.local + ' has been uploaded as ' + options.remote + '.'
|
||||||
print s
|
print(s)
|
||||||
else:
|
else:
|
||||||
parser.print_help()
|
parser.print_help()
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user