From 11c0e9a3048e23bdf7640f304931860d4d5d65bb Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Fri, 9 Oct 2009 00:40:46 +0000 Subject: [PATCH] Likewise in trunk.. --- deluge/core/authmanager.py | 1 + deluge/ui/common.py | 1 + 2 files changed, 2 insertions(+) diff --git a/deluge/core/authmanager.py b/deluge/core/authmanager.py index b9a2e796a..ef6fbc464 100644 --- a/deluge/core/authmanager.py +++ b/deluge/core/authmanager.py @@ -124,6 +124,7 @@ class AuthManager(component.Component): if line.startswith("#"): # This is a comment line continue + line = line.strip() try: lsplit = line.split(":") except Exception, e: diff --git a/deluge/ui/common.py b/deluge/ui/common.py index ad9176e9e..1748f201a 100644 --- a/deluge/ui/common.py +++ b/deluge/ui/common.py @@ -301,6 +301,7 @@ def get_localhost_auth(): if line.startswith("#"): # This is a comment line continue + line = line.strip() try: lsplit = line.split(":") except Exception, e: