mirror of
https://github.com/lgandx/Responder.git
synced 2025-08-14 02:27:12 -07:00
Fix wrong syntax
This commit is contained in:
parent
af7d27ac8c
commit
fb10d20ea3
3 changed files with 4 additions and 4 deletions
|
@ -11,7 +11,7 @@ else:
|
|||
|
||||
def StructWithLenPython2or3(endian,data):
|
||||
#Python2...
|
||||
if PY2OR3 is "PY2":
|
||||
if PY2OR3 == "PY2":
|
||||
return struct.pack(endian, data)
|
||||
#Python3...
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue