hate_crack
hate_crack copied to clipboard
Swapped reference equality checks and value equality checks
Ran into an issue with the most recent branch where Python 3.8.10 was erroring out because of "is" and "is not" instead of "==" and "!=" on a couple lines. It wasn't keeping me from running the script, but changed it anyway.
Error I ran into:
hate_crack.py:883: SyntaxWarning: "is" with a literal. Did you mean "=="?
if raw_choice is '':
hate_crack.py:901: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if raw_choice is not '':