From 9e75badca5ef68fa94ad92dc66b7791a7eceedd4 Mon Sep 17 00:00:00 2001 From: Ferry Boender Date: Tue, 14 Jul 2015 18:06:25 +0200 Subject: [PATCH] Python v2.6.6 support --- src/webserver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webserver.py b/src/webserver.py index 25a3492..436b43a 100644 --- a/src/webserver.py +++ b/src/webserver.py @@ -39,7 +39,7 @@ class RequestHandler(BaseHTTPRequestHandler): def log_message(self, fmt, *args): """Overrides BaseHTTPRequestHandler which logs to the console. We log to our log file instead""" - fmt = "{} {}" + fmt = "{0} {1}" self.scriptform.log.info(fmt.format(self.address_string(), args)) def do_GET(self):