Remove unused local variables

This commit is contained in:
Serene-Arc
2021-07-02 14:58:56 +10:00
parent 6efcf1ce7e
commit aa55a92791
2 changed files with 1 additions and 2 deletions

View File

@@ -210,7 +210,7 @@ class RedditConnector(metaclass=ABCMeta):
if log_path.exists():
try:
file_handler.doRollover()
except PermissionError as e:
except PermissionError:
logger.critical(
'Cannot rollover logfile, make sure this is the only '
'BDFR process or specify alternate logfile location')