Skip to content

Commit

Permalink
Allow dashes in Riivolution build names
Browse files Browse the repository at this point in the history
  • Loading branch information
Krummers committed Jul 15, 2023
1 parent aec5d8f commit 2d0fe51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Patcher/Intermezzo.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,10 @@
while True:
suffix = str(input("Where should the folder be moved to? (Enter the preferred suffix): "))

if suffix.isalnum():
if suffix.replace("-", "").isalnum():
break
else:
print("The suffix can only contain alphabetic and numeric characters. Please try again.")
print("The suffix can only contain dashes and alphabetic and numeric characters. Please try again.")

riiv = os.path.join(cwd, "riivolution")
riiw = os.path.join(cwd, "Wiimm-Intermezzo")
Expand Down

0 comments on commit 2d0fe51

Please sign in to comment.