Skip to content

Commit

Permalink
setup: this if should have been an elif
Browse files Browse the repository at this point in the history
  • Loading branch information
mara004 committed Oct 12, 2022
1 parent f1f510c commit bfd4e53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def install_handler():

if not os.path.exists(pl_dir):
need_update = True # platform directory doesn't exist yet
if not os.path.exists(ver_file) or not all(exists(fp) for fp in get_platfiles(pl_name)):
elif not os.path.exists(ver_file) or not all(exists(fp) for fp in get_platfiles(pl_name)):
print("Warning: Specific platform files are missing -> implicit update", file=sys.stderr)
need_update = True

Expand Down

0 comments on commit bfd4e53

Please sign in to comment.