syntax: when you await it must be async
This commit is contained in:
parent
17a9593b32
commit
a34135ef6f
1 changed files with 2 additions and 2 deletions
|
|
@ -24,8 +24,8 @@ FAKE_INPUT = """
|
||||||
""".strip(" \n")
|
""".strip(" \n")
|
||||||
|
|
||||||
|
|
||||||
def try_this():
|
async def try_this():
|
||||||
teilchen_data = make_teilchen_input(FAKE_INPUT)
|
teilchen_data = await make_teilchen_input(FAKE_INPUT)
|
||||||
if not teilchen_data:
|
if not teilchen_data:
|
||||||
logger.error("oh no!")
|
logger.error("oh no!")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue