Remove unused variable

This commit is contained in:
Timmy Welch 2024-02-18 18:01:51 -08:00
parent 22b44c87ca
commit ad8b92743c

View File

@ -290,7 +290,7 @@ class RarArchiver(Archiver):
rarfile.UNRAR_TOOL = cls.exe
try:
return rarfile.is_rarfile(str(path)) and rarfile.tool_setup(sevenzip=False, sevenzip2=False, force=True)
except rarfile.RarCannotExec as e:
except rarfile.RarCannotExec:
rarfile.UNRAR_TOOL = orig
# Fallback to standard