Python v2.6.6 support

pull/7/head
Ferry Boender 9 years ago
parent 7ad325828d
commit 9e75badca5
  1. 2
      src/webserver.py

@ -39,7 +39,7 @@ class RequestHandler(BaseHTTPRequestHandler):
def log_message(self, fmt, *args): def log_message(self, fmt, *args):
"""Overrides BaseHTTPRequestHandler which logs to the console. We log """Overrides BaseHTTPRequestHandler which logs to the console. We log
to our log file instead""" to our log file instead"""
fmt = "{} {}" fmt = "{0} {1}"
self.scriptform.log.info(fmt.format(self.address_string(), args)) self.scriptform.log.info(fmt.format(self.address_string(), args))
def do_GET(self): def do_GET(self):

Loading…
Cancel
Save