summaryrefslogtreecommitdiffstats
path: root/pyLoadCli.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-03-16 21:28:01 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-03-16 21:28:01 +0100
commit7186f5cc9f502cbdaf1245a2820a7dfb434f4e49 (patch)
tree7fbf10131925cfe399063c8e923240d1afadd42a /pyLoadCli.py
parentFixed Hotfile (diff)
downloadpyload-7186f5cc9f502cbdaf1245a2820a7dfb434f4e49.tar.xz
core ssl fix, nginx support, https for lighttpd and nginx
Diffstat (limited to 'pyLoadCli.py')
-rwxr-xr-xpyLoadCli.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyLoadCli.py b/pyLoadCli.py
index 8afe65c28..1d7a05155 100755
--- a/pyLoadCli.py
+++ b/pyLoadCli.py
@@ -448,7 +448,7 @@ if __name__ == "__main__":
if option in ("-l", "--local"):
ssl = ""
- if config['ssl']['activated'] == "True":
+ if config['ssl']['activated']:
ssl = "s"
server_url = "http%s://%s:%s@%s:%s/" % (
@@ -473,5 +473,5 @@ if __name__ == "__main__":
password = getpass(_("Password: "))
server_url = "http%s://%s:%s@%s:%s/" % (ssl, username, password, address, port)
- print server_url
+ #print server_url
cli = pyLoadCli(server_url)