Skip to content

Commit

Permalink
Should probably add an else statement here
Browse files Browse the repository at this point in the history
  • Loading branch information
Notexe committed Oct 22, 2023
1 parent 0b2dc20 commit 385e944
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/add_paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ def update_data(data, hash_val, path_val):
if "path" in entry and entry["path"] != "":
print(f"Hash: {hash_val} already has a path {entry['path']}. Skipping addition of hint: {path_val.lower()}.")
continue
entry["hint"] = path_val.lower()
else:
entry["hint"] = path_val.lower()
break

all_data = {}
Expand Down

0 comments on commit 385e944

Please sign in to comment.