diff options
author | ardi69 <armin@diedering.de> | 2015-04-18 14:08:18 +0200 |
---|---|---|
committer | ardi69 <armin@diedering.de> | 2015-04-18 14:08:18 +0200 |
commit | 6e8f84e1dc06cff6fa9387559992f555182c1774 (patch) | |
tree | 476600f9896fae029880e4049eb4c5e6021b202d /pyload/plugin/hook/XFileSharingPro.py | |
parent | fix: config cast (diff) | |
parent | Spare code cosmetics (5) (diff) | |
download | pyload-6e8f84e1dc06cff6fa9387559992f555182c1774.tar.xz |
Merge pull request #3 from vuolter/0.4.10
merge vuolter HEAD
Diffstat (limited to 'pyload/plugin/hook/XFileSharingPro.py')
-rw-r--r-- | pyload/plugin/hook/XFileSharingPro.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugin/hook/XFileSharingPro.py b/pyload/plugin/hook/XFileSharingPro.py index 1f3a27fd5..3c16c618a 100644 --- a/pyload/plugin/hook/XFileSharingPro.py +++ b/pyload/plugin/hook/XFileSharingPro.py @@ -82,7 +82,7 @@ class XFileSharingPro(Hook): pattern = self.regexp[type][1] % match_list.replace('.', '\.') - dict = self.core.pluginManager.plugins[type]["XFileSharingPro"] + dict = self.core.pluginManager.plugins[type]['XFileSharingPro'] dict['pattern'] = pattern dict['re'] = re.compile(pattern) @@ -90,7 +90,7 @@ class XFileSharingPro(Hook): def _unload(self, type): - dict = self.core.pluginManager.plugins[type]["XFileSharingPro"] + dict = self.core.pluginManager.plugins[type]['XFileSharingPro'] dict['pattern'] = r'^unmatchable$' dict['re'] = re.compile(dict['pattern']) |