Update Finger.py to fix bug with single byte comparisons in python3

This commit is contained in:
nobbd 2023-08-15 15:36:10 +02:00 committed by GitHub
commit 4ec2631ab0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -152,7 +152,7 @@ def color(txt, code = 1, modifier = 0):
return "\033[%d;3%dm%s\033[0m" % (modifier, code, txt)
def IsSigningEnabled(data):
if data[39] == "\x0f":
if data[39:40] == b"\x0f":
return True
else:
return False