syntax: when you await it must be async

This commit is contained in:
bronsen 2026-02-14 16:36:46 +01:00
parent 17a9593b32
commit a34135ef6f

View file

@ -24,8 +24,8 @@ FAKE_INPUT = """
""".strip(" \n")
def try_this():
teilchen_data = make_teilchen_input(FAKE_INPUT)
async def try_this():
teilchen_data = await make_teilchen_input(FAKE_INPUT)
if not teilchen_data:
logger.error("oh no!")