diff --git a/deluge/core/authmanager.py b/deluge/core/authmanager.py index c2232cc5b..6b6347ef6 100644 --- a/deluge/core/authmanager.py +++ b/deluge/core/authmanager.py @@ -84,5 +84,8 @@ class AuthManager(component.Component): if line.startswith("#"): # This is a comment line continue - username, password = line.split(":") + try: + username, password = line.split(":") + except ValueError: + continue self.auth[username.strip()] = password.strip()