Commit 0d4fc801 authored by Cecylia Bocovich's avatar Cecylia Bocovich
Browse files

Include upload function in try/catch block

parent b60b5ad9
......@@ -23,8 +23,12 @@ def upload_files(release):
url = data['downloads'][arch][locale][asset]
filename = url.split('/')[-1]
print("Downloading " + filename)
subprocess.check_call(["/usr/bin/wget", url])
subprocess.check_call(["/usr/bin/wget", "--quiet", url])
print("Error: failed to download "+url)
def main(token):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment