Skip to content

Commit

Permalink
Fix SyntaxWarning due to 'is' with literal
Browse files Browse the repository at this point in the history
  • Loading branch information
aiooss-ledger committed Apr 11, 2022
1 parent 8c17d9f commit 00650fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rainbow/rainbow.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ def code_trace(self, uci, address, size, data):
while True:
s = input("Press Enter to continue, or Input an address and a size to display an address: ")

if s is '':
if s == '':
break
try:
address = eval("0x"+s.split(" ")[0])
Expand Down

0 comments on commit 00650fa

Please sign in to comment.