From 33663a9d5d016723bbc68dc41c1153859af2eebb Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Wed, 10 Dec 2008 10:19:19 +0000 Subject: [PATCH] Strip new lines when loading auth file --- deluge/core/authmanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()