Remove print statements

This commit is contained in:
2023-01-17 01:38:07 +01:00
parent 202c0b1212
commit ace8d238bf
4 changed files with 0 additions and 16 deletions

View File

@ -92,8 +92,6 @@ async def delete_webhook(webhook_url=Form()):
# Add the new webhook to the list of webhooks.
webhooks.remove(webhook)
print(f"Removed webhook {webhook['name']}.")
# Add our new list of webhooks to the database.
reader.set_tag((), "webhooks", webhooks) # type: ignore
@ -324,9 +322,7 @@ async def set_custom(custom_message=Form(""), feed_url=Form()):
# Add the custom_message to the feed.
if custom_message:
reader.set_tag(feed_url, "custom_message", custom_message)
print(f"Set custom message for {feed_url} to {custom_message}")
else:
print(f"Removing custom message for {feed_url}")
reader.delete_tag(feed_url, "custom_message", missing_ok=True)
# Clean URL is used to redirect to the feed page.