Fixed print on py script.

This commit is contained in:
Vittorio Alfieri
2023-05-08 23:27:07 +02:00
parent 96ab9cf59d
commit 0ced3bfb09

View File

@@ -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