Skip to content

Commit

Permalink
little fix (UsergeTeam#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
Krishna-Singhal authored Feb 15, 2021
1 parent b3b6b5a commit 0b89ff9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions userge/plugins/misc/rss_feed.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

RSS_DICT: Dict[str, List[datetime]] = {}

RSS_COLLECTION = get_collection("RSS_COLLECTION") # Changed Collection Name cuz of Messsssss
RSS_COLLECTION = get_collection("RSS_FEED") # Changed Collection Name cuz of Messsssss
TASK_RUNNING = False


Expand Down Expand Up @@ -180,7 +180,7 @@ async def list_rss_feed(msg: Message):
out_str = ""
for url, date in RSS_DICT.items():
out_str += f"**FEED URL:** `{url}`"
out_str += f"\n**LAST CHECKED:** `{date[1]}`\n"
out_str += f"\n**LAST CHECKED:** `{date[1]}`\n\n"
if not out_str:
out_str = "`No feed Url Found.`"
await msg.edit(out_str)
Expand Down

0 comments on commit 0b89ff9

Please sign in to comment.