diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-13 10:21:32 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-13 10:21:32 +0200 |
commit | eca20b701c411046e7ededb0462b310124ce3c18 (patch) | |
tree | c5eb36261cfc935f001b816f28f15d1f5afbf7e0 /pyload/plugin/addon/UpdateManager.py | |
parent | Merge branch 'stable' into 0.4.10 (diff) | |
download | pyload-eca20b701c411046e7ededb0462b310124ce3c18.tar.xz |
Cleanup + fixup + new lib
Diffstat (limited to 'pyload/plugin/addon/UpdateManager.py')
-rw-r--r-- | pyload/plugin/addon/UpdateManager.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugin/addon/UpdateManager.py b/pyload/plugin/addon/UpdateManager.py index c5bee16a1..0837918d3 100644 --- a/pyload/plugin/addon/UpdateManager.py +++ b/pyload/plugin/addon/UpdateManager.py @@ -32,7 +32,7 @@ class UpdateManager(Addon): __type__ = "addon" __version__ = "0.50" - __config__ = [("activated", "bool", "Activated", True), + __config__ = [("activated", "bool", "Activated", False), ("checkinterval", "int", "Check interval in hours", 8), ("autorestart", "bool", "Auto-restart pyLoad when required", True), @@ -83,7 +83,7 @@ class UpdateManager(Addon): def autoreloadPlugins(self): """ reload and reindex all modified plugins """ modules = filter( - lambda m: m and (m.__name__.startswith("module.plugins.") or + lambda m: m and (m.__name__.startswith("pyload.plugin.") or m.__name__.startswith("userplugins.")) and m.__name__.count(".") >= 2, sys.modules.itervalues() ) |