mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 12:04:51 +00:00
Strip new lines when loading auth file
This commit is contained in:
parent
da177ff4e4
commit
33663a9d5d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue