Commit 68cabf53 authored by Bryton Lacquement's avatar Bryton Lacquement 🚪

fixup! TimerService: make timerserver compatible with WSGI

This is a fix for 5eeb52d5. Waitress
also requires a cancel method. Not having one raises an uncaught
AttributeError.
parent 201057e6
......@@ -80,6 +80,9 @@ class TimerServer:
_response=response)
server.add_task(self)
def cancel(self):
pass
if ip == '0.0.0.0':
ip = socket.gethostbyname(socket.gethostname())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment