Bugfix generator.

This commit is contained in:
retoor 2024-12-03 03:54:31 +01:00
parent 00254503af
commit d0476f7bb5

View File

@ -5,7 +5,7 @@ from devranta.api import Api
async def main_async(): async def main_async():
api = Api() api = Api()
async for rant in api.get_rants(): for rant in await api.get_rants():
print( print(
"{}({}): {}".format( "{}({}): {}".format(
rant["user_username"], rant["user_score"], rant["text"].split(".")[0] rant["user_username"], rant["user_score"], rant["text"].split(".")[0]