diff --git a/plugin.py b/plugin.py index 3391319..b2d2ea0 100644 --- a/plugin.py +++ b/plugin.py @@ -246,7 +246,7 @@ def install_or_update(cls) -> None: os.chmod(serverfile, 0o744) with open(os.path.join(cls.basedir(), "VERSION"), "w") as fp: fp.write(version) - except Exception: + except BaseException: shutil.rmtree(cls.basedir(), ignore_errors=True) raise