Bugfix generator.
This commit is contained in:
		
							parent
							
								
									00254503af
								
							
						
					
					
						commit
						d0476f7bb5
					
				| @ -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] | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user