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]