Skip to content

Commit

Permalink
Update _ext.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cxong authored Jan 12, 2025
1 parent d1bb18c commit 3b5ba26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,8 @@ def sort_key(game):
show_errors(errors)

def has_invalid_status(clone) -> bool:
# Tools must have N/A status
return clone["type"] == "tool" and clone["status"] != "N/A"
# Tools and only tools must have N/A status
return (clone["type"] == "tool") != (clone["status"] != "N/A")

for clone in clones:
if 'originals' not in clone:
Expand Down

0 comments on commit 3b5ba26

Please sign in to comment.