epsylon / ufonet

UFONet - Denial of Service Toolkit
https://ufonet.03c8.net
2.2k stars 612 forks source link

fix: 'SyntaxWarning: "is not" with a literal. Did you mean "!="?' #386

Closed simon-liebehenschel closed 2 years ago

simon-liebehenschel commented 2 years ago

See https://github.com/epsylon/ufonet/blob/master/core/main.py#L3171

Change from

                if abductions_reply is not "":

to

                if abductions_reply != "":

or just

                if abductions_reply:
epsylon commented 2 years ago

@AIGeneratedUsername you are right. It works but there is a warning when building the tool.

Fixed: https://github.com/epsylon/ufonet/commit/62d1a70001ae1f944556a3ac2fa8785b8d5178cd

Thanks!