diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-27 14:23:55 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-27 14:23:55 +0200 |
commit | 1bbbd7e7e123516a8540099e5f380ba158dfef5f (patch) | |
tree | 87725c8189bf68b5832e4de44555858173051743 /module/web/ServerThread.py | |
parent | hotfile fix (diff) | |
download | pyload-1bbbd7e7e123516a8540099e5f380ba158dfef5f.tar.xz |
locale fixes
Diffstat (limited to 'module/web/ServerThread.py')
-rw-r--r-- | module/web/ServerThread.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/web/ServerThread.py b/module/web/ServerThread.py index c07364243..59f3164f7 100644 --- a/module/web/ServerThread.py +++ b/module/web/ServerThread.py @@ -129,7 +129,7 @@ class WebServer(threading.Thread): command = ['nginx', '-c', join(path, "nginx.conf")] self.p = Popen(command, stderr=PIPE, stdin=PIPE, stdout=Output(out)) - log.info(_("Starting nginx Webserver: %s:%s") % (host, port)) + log.info(_("Starting nginx Webserver: %(host)s:%(port)d") % {"host": host, "port": port}) import run_fcgi run_fcgi.handle("daemonize=false", "method=threaded", "host=127.0.0.1", "port=9295") @@ -166,7 +166,7 @@ class WebServer(threading.Thread): command = ['lighttpd', '-D', '-f', join(path, "lighttpd.conf")] self.p = Popen(command, stderr=PIPE, stdin=PIPE, stdout=Output(out)) - log.info(_("Starting lighttpd Webserver: %s:%s") % (host, port)) + log.info(_("Starting lighttpd Webserver: %(host)s:%(port)d") % {"host": host, "port": port}) import run_fcgi run_fcgi.handle("daemonize=false", "method=threaded", "host=127.0.0.1", "port=9295") @@ -176,7 +176,7 @@ class WebServer(threading.Thread): import run_fcgi run_fcgi.handle("daemonize=false", "method=threaded", "host=127.0.0.1", "port=%s" % str(port)) else: - self.core.log.info(_("Starting django builtin Webserver: %s:%s") % (host, port)) + self.core.log.info(_("Starting django builtin Webserver: %(host)s:%(port)d") % {"host": host, "port": port}) import run_server run_server.handle(host, port) |