Skip to content

Commit

Permalink
edit novel update format
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrtye committed Oct 2, 2024
1 parent b18b33d commit 02090a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions telebot/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ def novelUpdate():
content = response.content.decode("utf-8")
data_dict = json.loads(content)

for novel, title in data_dict.items():
reply.append(f"{novel}: \n{title}")
for novel, (title, url) in data_dict.items():
reply.append(f"{novel}: \n{title}\n{url}")
else:
reply.append(f"Novel update is not currently available")

Expand Down

0 comments on commit 02090a5

Please sign in to comment.