Show time by default
This commit is contained in:
parent
f64d842126
commit
518d441f4d
1 changed files with 5 additions and 0 deletions
|
@ -24,6 +24,11 @@ async def display_time():
|
|||
await asyncio.sleep(seconds_until_next_minute)
|
||||
|
||||
|
||||
|
||||
asyncio.create_task(display_time())
|
||||
|
||||
|
||||
|
||||
@app.post("/time")
|
||||
async def start_time_loop():
|
||||
global should_run_time_loop
|
||||
|
|
Loading…
Reference in a new issue