mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-21 02:01:31 +00:00
this is not unicode, it came from a file, I guess
This commit is contained in:
parent
f2ddb27ee0
commit
794314668a
@ -65,7 +65,7 @@ class Token(object):
|
||||
|
||||
def equals(self, valid_token):
|
||||
return timing_safe_compare(
|
||||
valid_token.encode("ascii"),
|
||||
valid_token,
|
||||
self.proposed_token,
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user