Skip to content

Commit

Permalink
Exit when an error is encountered
Browse files Browse the repository at this point in the history
  • Loading branch information
Howard20181 committed Aug 17, 2022
1 parent a0e09aa commit 88cab1d
Show file tree
Hide file tree
Showing 3 changed files with 145 additions and 109 deletions.
1 change: 0 additions & 1 deletion scripts/downloadGapps.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,3 @@

if not os.path.isfile(out_file):
urllib.request.urlretrieve(link, out_file)
print("done", flush=True)
1 change: 0 additions & 1 deletion scripts/downloadWSA.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
release_type = release_type_map[sys.argv[2]] if sys.argv[2] != "" else "Retail"

cat_id = '858014f3-3934-4abe-8078-4aa193e74ca8'
print("arch=" + arch + " release_type=" + release_type)

with open(Path.cwd().parent / ("xml/GetCookie.xml"), "r") as f:
cookie_content = f.read()
Expand Down
Loading

0 comments on commit 88cab1d

Please sign in to comment.