webserver.py: fix intendation

This commit is contained in:
2026-05-04 13:31:25 +02:00
parent 1201801170
commit fabb6c371f
+2 -2
View File
@@ -182,8 +182,8 @@ def get_update(_=None):
logging.info('HEARTBEAT %s (%s)', client.id, "; ".join(client.info()))
yield to_json_sse(dict(type='heartbeat'))
lastmsg = time.time()
# we need to specify a value > 0 to give other greenlets a chance to continue
gevent.sleep(delay)
# we need to specify a value > 0 to give other greenlets a chance to continue
gevent.sleep(delay)
except GeneratorExit as e:
logging.info("except clause %r", repr(e))
logging.info('CLOSED %s', client.id)