Przeglądaj źródła

Removing unusued variable

Penta 5 lat temu
rodzic
commit
5feffc23d7
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      myanimebot/discord.py

+ 1 - 1
myanimebot/discord.py

@@ -299,7 +299,7 @@ async def background_check_feed(asyncioloop):
 								http_response = await httpclient.request("GET", "https://myanimelist.net/rss.php?type=rw&u=" + user.name, headers=http_headers, timeout=timeout)
 								media = "anime"
 						http_data = await http_response.read()
-					except asyncio.TimeoutError as e:
+					except asyncio.TimeoutError:
 						globals.logger.error("Error while loading RSS of '{}': Timeout".format(user.name))
 						break
 					except Exception as e: