correct preview option reference

This commit is contained in:
Frede Hundewadt 2023-12-17 09:25:05 +01:00
parent bbebe75ae5
commit ea02c31827

View file

@ -236,7 +236,7 @@ def main():
", ".join(review_editions))
sys.exit(1)
if args.development:
if args.preview:
if args.edition in review_editions:
iso_files = init_iso_list(DEV_PREVIEW_URL, preview=True)
else:
@ -258,7 +258,7 @@ def main():
print("Could not extract edition from data")
sys.exit(1)
if args.review or args.development:
if args.review or args.preview:
sha_result = download(iso["sha"])
shafile = iso["sha"].split("/")[-1]
isozip = [x for x in iso["parts"] if ".iso.zip" in x]