diff --git a/deluge/core/authmanager.py b/deluge/core/authmanager.py index 5b59c9798..c2232cc5b 100644 --- a/deluge/core/authmanager.py +++ b/deluge/core/authmanager.py @@ -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()