Browse Source

Remove useless pass statements (#181)

ÁÑÑÍHÌLÅTØR SPÄRK 4 years ago
parent
commit
16c0277c1b
2 changed files with 0 additions and 2 deletions
  1. 0 1
      wbb/modules/global_stats.py
  2. 0 1
      wbb/modules/rss.py

+ 0 - 1
wbb/modules/global_stats.py

@@ -61,7 +61,6 @@ async def clean_db(_, message):
         except Exception:
             await remove_served_chat(served_chat)
             served_chats.remove(served_chat)
-            pass
     await m.edit("**Database Cleaned.**")
 
 

+ 0 - 1
wbb/modules/rss.py

@@ -65,7 +65,6 @@ async def rss_worker():
                 log.info(f"Removed RSS Feed from {chat} (Invalid Chat)")
             except Exception as e:
                 log.info(f"RSS in {chat}: {str(e)}")
-                pass
         await sleep(RSS_DELAY)