Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swapped reference equality checks and value equality checks #44

Merged
merged 2 commits into from
Jan 30, 2025

Conversation

rybaz
Copy link
Contributor

@rybaz rybaz commented Jun 24, 2022

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

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. Nothing crazy, but this fixed it for me.
@bandrel bandrel merged commit 78cc0aa into trustedsec:master Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants