Rev4176, Fix update of plugins
This commit is contained in:
parent
1d7e0c47dd
commit
7801937f74
2 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ class Config(object):
|
|||
|
||||
def __init__(self, argv):
|
||||
self.version = "0.7.0"
|
||||
self.rev = 4175
|
||||
self.rev = 4176
|
||||
self.argv = argv
|
||||
self.action = None
|
||||
self.pending_changes = {}
|
||||
|
|
|
@ -62,7 +62,7 @@ def update():
|
|||
continue
|
||||
|
||||
# Keep plugin disabled/enabled status
|
||||
match = re.match("plugins/([^/]+)", dest_path)
|
||||
match = re.match(re.escape(source_path) + "/plugins/([^/]+)", dest_path)
|
||||
if match:
|
||||
plugin_name = match.group(1).replace("disabled-", "")
|
||||
if plugin_name in plugins_enabled: # Plugin was enabled
|
||||
|
|
Loading…
Reference in a new issue