From 2db634796bd5426c11f7849ce480265091f128c8 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 13 Apr 2015 17:34:59 +0200 Subject: Cleanup (2) --- pyload/plugin/addon/UpdateManager.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'pyload/plugin/addon/UpdateManager.py') 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 """ -- cgit v1.2.3