correct preview option reference
This commit is contained in:
parent
bbebe75ae5
commit
ea02c31827
1 changed files with 2 additions and 2 deletions
4
get-iso
4
get-iso
|
@ -236,7 +236,7 @@ def main():
|
||||||
", ".join(review_editions))
|
", ".join(review_editions))
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
if args.development:
|
if args.preview:
|
||||||
if args.edition in review_editions:
|
if args.edition in review_editions:
|
||||||
iso_files = init_iso_list(DEV_PREVIEW_URL, preview=True)
|
iso_files = init_iso_list(DEV_PREVIEW_URL, preview=True)
|
||||||
else:
|
else:
|
||||||
|
@ -258,7 +258,7 @@ def main():
|
||||||
print("Could not extract edition from data")
|
print("Could not extract edition from data")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
if args.review or args.development:
|
if args.review or args.preview:
|
||||||
sha_result = download(iso["sha"])
|
sha_result = download(iso["sha"])
|
||||||
shafile = iso["sha"].split("/")[-1]
|
shafile = iso["sha"].split("/")[-1]
|
||||||
isozip = [x for x in iso["parts"] if ".iso.zip" in x]
|
isozip = [x for x in iso["parts"] if ".iso.zip" in x]
|
||||||
|
|
Loading…
Reference in a new issue