Skip to content

Commit

Permalink
Fix warnings...
Browse files Browse the repository at this point in the history
  • Loading branch information
DeamonHunter committed Dec 29, 2023
1 parent fbe0859 commit 25b6063
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions worlds/musedash/MuseDashCollection.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,17 @@ def __init__(self) -> None:
if song_name in self.DIFF_OVERRIDES:
# These songs use non-standard difficulty values. Which are being overriden with standard values.
# But also avoid filling any missing difficulties (i.e. 0s) with a difficulty value.
if sections[4] is not '0':
if sections[4] != '0':
diff_of_easy = 4
else:
diff_of_easy = None

if sections[5] is not '0':
if sections[5] != '0':
diff_of_hard = 7
else:
diff_of_hard = None

if sections[6] is not '0':
if sections[6] != '0':
diff_of_master = 10
else:
diff_of_master = None
Expand Down

0 comments on commit 25b6063

Please sign in to comment.