parent
acd935f44a
commit
374cfdf127
1 changed files with 1 additions and 1 deletions
2
cc/xkcd
2
cc/xkcd
|
@ -13,7 +13,7 @@ else:
|
|||
print("Comic not found.")
|
||||
elif req.ok:
|
||||
title = req.json()["title"]
|
||||
print(f"XKCD {e}: {title} (https://xkcd.com/{e})")
|
||||
print(f"xkcd {e}: {title} (https://xkcd.com/{e})")
|
||||
else:
|
||||
print("Couldn't fetch: status code {req.status_code}")
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue