mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-08-29 03:56:43 +08:00
fix: clean successful plugin rollback backups
This commit is contained in:
Vendored
+2
@@ -2083,6 +2083,8 @@ class PluginHelper(metaclass=WeakSingleton):
|
||||
return False, dep_msg
|
||||
|
||||
self.refresh_persistent_plugin_backup(pid)
|
||||
if backup_dir:
|
||||
shutil.rmtree(backup_dir, ignore_errors=True)
|
||||
return True, ""
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user