mirror of
https://github.com/EDCD/EDDN.git
synced 2025-04-22 19:40:30 +03:00
Fix for UTF8 uploader
This commit is contained in:
parent
52a7061d8f
commit
9484f4646a
@ -62,7 +62,7 @@ class Relay(Thread):
|
||||
now = time.time()
|
||||
if now - self.uploader_nonce_timestamp > self.REGENERATE_UPLOADER_NONCE_INTERVAL:
|
||||
self.generate_uploader_nonce()
|
||||
return hashlib.sha1("{}-{}".format(self.uploader_nonce, uploader)).hexdigest()
|
||||
return hashlib.sha1("{}-{}".format(self.uploader_nonce, uploader.encode('utf8'))).hexdigest()
|
||||
|
||||
def run(self):
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user