summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/addon/UpdateManager.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-13 17:34:59 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-13 17:34:59 +0200
commit2db634796bd5426c11f7849ce480265091f128c8 (patch)
tree5a54f7535e9c0ff1ec65f05f347b6eafbb496922 /pyload/plugin/addon/UpdateManager.py
parentCleanup (diff)
downloadpyload-2db634796bd5426c11f7849ce480265091f128c8.tar.xz
Cleanup (2)
Diffstat (limited to 'pyload/plugin/addon/UpdateManager.py')
-rw-r--r--pyload/plugin/addon/UpdateManager.py9
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 """