Ticket #1035: deluge_ui_common.py.diff

File deluge_ui_common.py.diff, 501 bytes (added by gcoriasco, 15 years ago)

Patch to deluge/ui/common.py file

Line 
1*** deluge/ui/common.py.orig 2009-07-23 02:46:23.000000000 +0200
2--- deluge/ui/common.py 2009-10-19 10:54:59.000000000 +0200
3*************** def get_localhost_auth():
4*** 316,320 ****
5 continue
6
7 if username == "localclient":
8! return (username, password)
9 return ("", "")
10--- 316,320 ----
11 continue
12
13 if username == "localclient":
14! return (username.strip(), password.strip())
15 return ("", "")