diff options
Diffstat (limited to 'pyload/plugin/addon/UpdateManager.py')
-rw-r--r-- | pyload/plugin/addon/UpdateManager.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/pyload/plugin/addon/UpdateManager.py b/pyload/plugin/addon/UpdateManager.py index c7c7ec047..c7fb27a3d 100644 --- a/pyload/plugin/addon/UpdateManager.py +++ b/pyload/plugin/addon/UpdateManager.py @@ -82,9 +82,8 @@ class UpdateManager(Addon): and time.time() - max(self.MIN_CHECK_INTERVAL, self.getConfig('checkinterval') * 60 * 60) > self.info['last_check']: self.update() - @Expose - + @Expose def autoreloadPlugins(self): """ reload and reindex all modified plugins """ modules = filter( @@ -121,10 +120,9 @@ class UpdateManager(Addon): except Exception: self.logWarning(_("Unable to retrieve server to get updates")) + @Expose @threaded - - def update(self): """ check for updates """ @@ -275,9 +273,8 @@ class UpdateManager(Addon): # 2 = Plugins updated, but restart required return exitcode - @Expose - + @Expose def removePlugins(self, type_plugins): """ delete plugins from disk """ |