summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-01-03 21:55:13 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-01-03 21:55:13 +0100
commitf4a3d381506442380ae2b60cfbbee693d14b5457 (patch)
tree984ba244866ebe369a35aa0e67e0791b0f10a004 /module
parentMerged in DHMH/pyload (pull request #13) (diff)
downloadpyload-f4a3d381506442380ae2b60cfbbee693d14b5457.tar.xz
UpdateManager fix
Diffstat (limited to 'module')
-rw-r--r--module/plugins/hooks/UpdateManager.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/hooks/UpdateManager.py b/module/plugins/hooks/UpdateManager.py
index 0dfb42ff2..ce75399c5 100644
--- a/module/plugins/hooks/UpdateManager.py
+++ b/module/plugins/hooks/UpdateManager.py
@@ -15,7 +15,6 @@
along with this program; if not, see <http://www.gnu.org/licenses/>.
@author: RaNaN
- @interface-version: 0.1
"""
import sys
@@ -30,7 +29,7 @@ from module.plugins.Hook import threaded, Expose, Hook
class UpdateManager(Hook):
__name__ = "UpdateManager"
- __version__ = "0.11"
+ __version__ = "0.12"
__description__ = """checks for updates"""
__config__ = [("activated", "bool", "Activated", "True"),
("interval", "int", "Check interval in minutes", "360"),
@@ -172,7 +171,7 @@ class UpdateManager(Hook):
self.last_check = time()
modules = filter(
- lambda m: m and (m.__name__.startswith("module.plugins.") or m.__name__.startswith("userplugins.")),
+ lambda m: m and (m.__name__.startswith("module.plugins.") or m.__name__.startswith("userplugins.")) and m.__name__.count(".") >= 2,
sys.modules.itervalues())
reloads = []