From d0476f7bb5e232a1a5cca9d4ddd1577a131e7bf2 Mon Sep 17 00:00:00 2001 From: retoor Date: Tue, 3 Dec 2024 03:54:31 +0100 Subject: [PATCH] Bugfix generator. --- src/devranta/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devranta/__main__.py b/src/devranta/__main__.py index 579435f..2d91bee 100644 --- a/src/devranta/__main__.py +++ b/src/devranta/__main__.py @@ -5,7 +5,7 @@ from devranta.api import Api async def main_async(): api = Api() - async for rant in api.get_rants(): + for rant in await api.get_rants(): print( "{}({}): {}".format( rant["user_username"], rant["user_score"], rant["text"].split(".")[0]