Skip to content

Commit f7bd52b

Browse files
author
leet hakker
committed
📝 Fix incorrect code in documentation.
1 parent b956f94 commit f7bd52b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ import asyncio
4747

4848
async def print_joke():
4949
j = await Jokes() # Initialise the class
50-
await j.get_joke() # Retrieve a random joke
50+
joke = await j.get_joke() # Retrieve a random joke
5151
if joke["type"] == "single": # Print the joke
5252
print(joke["joke"])
5353
else:

0 commit comments

Comments
 (0)