mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-09 11:12:06 +00:00
Likewise in trunk..
This commit is contained in:
parent
844f98db04
commit
11c0e9a304
@ -124,6 +124,7 @@ class AuthManager(component.Component):
|
|||||||
if line.startswith("#"):
|
if line.startswith("#"):
|
||||||
# This is a comment line
|
# This is a comment line
|
||||||
continue
|
continue
|
||||||
|
line = line.strip()
|
||||||
try:
|
try:
|
||||||
lsplit = line.split(":")
|
lsplit = line.split(":")
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
|
@ -301,6 +301,7 @@ def get_localhost_auth():
|
|||||||
if line.startswith("#"):
|
if line.startswith("#"):
|
||||||
# This is a comment line
|
# This is a comment line
|
||||||
continue
|
continue
|
||||||
|
line = line.strip()
|
||||||
try:
|
try:
|
||||||
lsplit = line.split(":")
|
lsplit = line.split(":")
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user