From ad8b92743c8faf59a5a5ae319e47e751f3fbd1ce Mon Sep 17 00:00:00 2001 From: Timmy Welch Date: Sun, 18 Feb 2024 18:01:51 -0800 Subject: [PATCH] Remove unused variable --- comicapi/archivers/rar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comicapi/archivers/rar.py b/comicapi/archivers/rar.py index dc09105..5a1afd0 100644 --- a/comicapi/archivers/rar.py +++ b/comicapi/archivers/rar.py @@ -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