Skip to content

Commit 4631dcb

Browse files
Fixed development bug
_dev.py has improper logic to check if yes/y was inputted, fixed that
1 parent 7ffa35e commit 4631dcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CODE/_dev.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def _prompt_user(question: str, file_to_open: str = None, special: bool = False)
4848
"""
4949
try:
5050
answer = input(question + " (yes or no):- ")
51-
if answer.lower() != "yes" or answer.lower() != "y":
51+
if not (answer.lower() == "yes" or answer.lower() == "y"):
5252
if file_to_open:
5353
subprocess.run(["start", file_to_open], shell=True)
5454
if not special:

0 commit comments

Comments
 (0)