diff options
-rw-r--r-- | pyload/Core.py | 3 | ||||
-rw-r--r-- | pyload/config/default.py | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/pyload/Core.py b/pyload/Core.py index 4a9c51379..d18c80cad 100644 --- a/pyload/Core.py +++ b/pyload/Core.py @@ -500,8 +500,6 @@ class Core(object): self.webserver.start() def init_logger(self, level): - console = logging.StreamHandler(sys.stdout) - datefmt = "%Y-%m-%d %H:%M:%S" # file handler formatter @@ -543,6 +541,7 @@ class Core(object): if color: console_frm = ColoredFormatter(cfmt, datefmt, clr) # set console formatter + console = logging.StreamHandler(sys.stdout) console.setFormatter(console_frm) self.log = logging.getLogger("log") # setable in config diff --git a/pyload/config/default.py b/pyload/config/default.py index 530bb35dc..1ad164c31 100644 --- a/pyload/config/default.py +++ b/pyload/config/default.py @@ -52,7 +52,7 @@ def make_config(config): ("key", "file", _("SSL Key"), "ssl.key"), ]) - config.addConfigSection("webUI", _("webUI"), _("Description"), _("Long description"), + config.addConfigSection("webUI", _("WebUI"), _("Description"), _("Long description"), [ ("template", "str", _("Template"), "default"), ("prefix", "str", _("Path Prefix"), ""), |