summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar fedeG <federicogonzalez761@gmail.com> 2015-04-20 21:52:17 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-20 23:01:39 +0200
commit09419ccab2ff07da22600a27a1afd22513deb2b7 (patch)
treeba449ce97ef7afd20ebb4aab724fb2d89bb3fd68
parentPEP-8, Python Zen, refactor and reduce code (part 13 in master module/remote) (diff)
downloadpyload-09419ccab2ff07da22600a27a1afd22513deb2b7.tar.xz
PEP-8, Python Zen, refactor and reduce code (part 14 in master module/threads)
Conflicts: module/threads/PluginThread.py pyload/manager/thread/Server.py
-rw-r--r--pyload/manager/thread/Server.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/pyload/manager/thread/Server.py b/pyload/manager/thread/Server.py
index 83e886253..97590013e 100644
--- a/pyload/manager/thread/Server.py
+++ b/pyload/manager/thread/Server.py
@@ -89,11 +89,13 @@ class WebServer(threading.Thread):
def start_threaded(self):
if self.https:
- self.core.log.info(_("Starting threaded SSL webserver: %(host)s:%(port)d") % {"host": self.host, "port": self.port})
+ self.core.log.info(
+ _("Starting threaded SSL webserver: %(host)s:%(port)d") % {"host": self.host, "port": self.port})
else:
self.cert = ""
self.key = ""
- self.core.log.info(_("Starting threaded webserver: %(host)s:%(port)d") % {"host": self.host, "port": self.port})
+ self.core.log.info(
+ _("Starting threaded webserver: %(host)s:%(port)d") % {"host": self.host, "port": self.port})
webinterface.run_threaded(host=self.host, port=self.port, cert=self.cert, key=self.key)
@@ -111,7 +113,8 @@ class WebServer(threading.Thread):
if self.https:
log.warning(_("This server offers no SSL, please consider using threaded instead"))
- self.core.log.info(_("Starting lightweight webserver (bjoern): %(host)s:%(port)d") % {"host": self.host, "port": self.port})
+ self.core.log.info(
+ _("Starting lightweight webserver (bjoern): %(host)s:%(port)d") % {"host": self.host, "port": self.port})
webinterface.run_lightweight(host=self.host, port=self.port)