Explorar o código

Remove useless pass statements (#181)

ÁÑÑÍHÌLÅTØR SPÄRK %!s(int64=4) %!d(string=hai) anos
pai
achega
16c0277c1b
Modificáronse 2 ficheiros con 0 adicións e 2 borrados
  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)