Skip to content

Commit

Permalink
Fix ruff warning (use is, E721)
Browse files Browse the repository at this point in the history
  • Loading branch information
hannob committed Oct 25, 2024
1 parent 3a5e4ed commit 21147bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snallygaster
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ def test_phpinfo(url):


def new_excepthook(etype, value, traceback):
if etype == KeyboardInterrupt:
if etype is KeyboardInterrupt:
pdebug("Interrupted by user...")
sys.exit(1)

Expand Down

0 comments on commit 21147bf

Please sign in to comment.