From 3e3ba5240d20a5eb8df669272cb0f3d838d8fcfa Mon Sep 17 00:00:00 2001 From: spoob Date: Sun, 3 Jan 2010 14:58:28 +0100 Subject: Full Config File --- module/XMLConfigParser.py | 3 ++ module/config/core_default.xml | 86 ++++++++++++++++++++-------------------- module/config/plugin_default.xml | 2 +- pyLoadCore.py | 7 +--- 4 files changed, 49 insertions(+), 49 deletions(-) diff --git a/module/XMLConfigParser.py b/module/XMLConfigParser.py index 444d45928..0d2094dae 100644 --- a/module/XMLConfigParser.py +++ b/module/XMLConfigParser.py @@ -85,6 +85,9 @@ class XMLConfigParser(): def getConfig(self): return self.config + + def getData(self): + return self.data def set(self, section, option, value): root = self.root diff --git a/module/config/core_default.xml b/module/config/core_default.xml index 58e5d1be2..4c95d5386 100644 --- a/module/config/core_default.xml +++ b/module/config/core_default.xml @@ -1,60 +1,60 @@ - + 7227 0.0.0.0 admin pwhere - - False + + False ssl.srt ssl.key - - True - 0.0.0.0 - 8000 - - True - False - None - None - None - None + + True + 0.0.0.0 + 8000 + + True + False + None + None + None + None - - True - Logs - 5 + + True + Logs + 5 - - de - Downloads - 3 - False - links.txt - failed_links.txt - None - False - 5 - 0 - True + + de + Downloads + 3 + False + links.txt + failed_links.txt + None + False + 5 + 0 + True - - True - False + + True + False - - 0:00 - 0:00 + + 0:00 + 0:00 - - 0:00 - 0:00 + + 0:00 + 0:00 - - False - http://localhost:8080 - http + + False + http://localhost:8080 + http diff --git a/module/config/plugin_default.xml b/module/config/plugin_default.xml index 88628cb5e..76a873048 100644 --- a/module/config/plugin_default.xml +++ b/module/config/plugin_default.xml @@ -9,7 +9,7 @@ TeliaSonera #3, TeliaSonera --> - + False diff --git a/pyLoadCore.py b/pyLoadCore.py index bdf4e1e40..6eafee4ac 100755 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -138,14 +138,11 @@ class Core(object): self.update_available = self.check_update() self.init_server() - self.init_webserver() # start webinterface like cli, gui etc + self.init_webserver() - self.logger.info(_("Downloadtime: %s") % self.server_methods.is_time_download()) # debug only + self.logger.info(_("Downloadtime: %s") % self.server_methods.is_time_download()) - #read url list @mkaay: pid, lid? - # pid = package id - # lid = link/file id linkFile = self.config['general']['link_file'] packs = self.server_methods.get_queue() found = False -- cgit v1.2.3