mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-16 21:36:40 +00:00
Strip new lines when loading auth file
This commit is contained in:
parent
da177ff4e4
commit
33663a9d5d
@ -85,4 +85,4 @@ class AuthManager(component.Component):
|
||||
# This is a comment line
|
||||
continue
|
||||
username, password = line.split(":")
|
||||
self.auth[username] = password
|
||||
self.auth[username.strip()] = password.strip()
|
||||
|
Loading…
x
Reference in New Issue
Block a user