diff options
| author | 2014-06-26 22:52:03 +0200 | |
|---|---|---|
| committer | 2014-06-26 22:52:03 +0200 | |
| commit | ce7916efe98bac98f178cadd0ab2c6af4d9e5b8f (patch) | |
| tree | 606d429b32805e19896eb5e10db5171bf1eb94ac /module | |
| parent | [SimplyPremium] Fix #649 (diff) | |
| download | pyload-ce7916efe98bac98f178cadd0ab2c6af4d9e5b8f.tar.xz | |
[UpdateManager] Fix removePlugins method
Diffstat (limited to 'module')
| -rw-r--r-- | module/plugins/hooks/UpdateManager.py | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/UpdateManager.py b/module/plugins/hooks/UpdateManager.py index a824ee902..5b7bf76b0 100644 --- a/module/plugins/hooks/UpdateManager.py +++ b/module/plugins/hooks/UpdateManager.py @@ -14,7 +14,7 @@ from module.plugins.Hook import threaded, Expose, Hook  class UpdateManager(Hook):      __name__ = "UpdateManager" -    __version__ = "0.23" +    __version__ = "0.24"      __description__ = """Check for updates"""      __config__ = [("activated", "bool", "Activated", True),                    ("mode", "pyLoad + plugins;plugins only", "Check updates for", "pyLoad + plugins"), @@ -223,7 +223,7 @@ class UpdateManager(Hook):          for type, name in type_plugins:              py = join("userplugins", type, name) -            pyc = py[::-1].replace('.py', '.pyc')[::-1] +            pyc = join("userplugins", type, name.replace('.py', '.pyc'))              if isfile(py):                  id = (type, name)                  remove(py)  | 
