Fix server password Python 3 bug (#200)
This commit is contained in:
parent
2c2045b477
commit
9a590afe4d
@ -25,6 +25,7 @@ class SyncFactory(Factory):
|
||||
print(getMessage("welcome-server-notification").format(syncplay.version))
|
||||
self.port = port
|
||||
if password:
|
||||
password = password.encode('utf-8')
|
||||
password = hashlib.md5(password).hexdigest()
|
||||
self.password = password
|
||||
if salt is None:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user