hate_crack icon indicating copy to clipboard operation
hate_crack copied to clipboard

Swapped reference equality checks and value equality checks

Open rybaz opened this issue 3 years ago • 0 comments

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 '':

rybaz avatar Jun 24 '22 18:06 rybaz