mirror of https://github.com/dirtbags/moth.git
And, of course, I spelled it wrong . . .
This commit is contained in:
parent
34ee51bf84
commit
c73abb0c61
|
@ -151,7 +151,7 @@ class MothRequestHandler(http.server.SimpleHTTPRequestHandler):
|
||||||
catdir = self.server.args["puzzles_dir"].joinpath(category)
|
catdir = self.server.args["puzzles_dir"].joinpath(category)
|
||||||
mb = mothballer.package(category, catdir, self.seed)
|
mb = mothballer.package(category, catdir, self.seed)
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
logger.exception(ex)
|
logging.exception(ex)
|
||||||
self.send_response(200)
|
self.send_response(200)
|
||||||
self.send_header("Content-Type", "text/html; charset=\"utf-8\"")
|
self.send_header("Content-Type", "text/html; charset=\"utf-8\"")
|
||||||
self.end_headers()
|
self.end_headers()
|
||||||
|
|
Loading…
Reference in New Issue