summaryrefslogtreecommitdiffstats
path: root/Core.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-05-29 13:37:46 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-05-29 13:37:46 +0200
commit37104032902281caefa144ed039b88c4f3b6e81e (patch)
tree560e1ab570dde87edebbbb6c8e28fba30f80e738 /Core.py
parentadded download plugin for fileuploadx.de, fixed some bugs (diff)
downloadpyload-37104032902281caefa144ed039b88c4f3b6e81e.tar.xz
socket encryption
Diffstat (limited to 'Core.py')
-rw-r--r--Core.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/Core.py b/Core.py
index 336995846..2969e1c90 100644
--- a/Core.py
+++ b/Core.py
@@ -74,6 +74,7 @@ class Core(object):
for section in config.sections():
for option in config.options(section):
self.config[option] = config.get(section, option)
+ self.config[option] = False if self.config[option].lower == 'False' else self.config[option]
self.config['download_folder'] = config.get('general', 'downloadFolder')
self.config['link_file'] = config.get('general', 'linkFile')
@@ -229,7 +230,8 @@ class Core(object):
if __name__ == "__main__":
testLoader = Core()
- #server = ServerThread(testLoader)
- #server.start()
+ if testLoader.config['remoteactivated']:
+ server = ServerThread(testLoader)
+ server.start()
testLoader.start()