summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hook/XFileSharingPro.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-17 01:21:41 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-17 01:21:41 +0200
commit20226f8cc5889efbefa61209e1adf6184d42cd00 (patch)
tree8f01af2c23465432f83481b656ed8c2743cb872a /pyload/plugin/hook/XFileSharingPro.py
parentSpare code cosmetics (2) (diff)
downloadpyload-20226f8cc5889efbefa61209e1adf6184d42cd00.tar.xz
Spare code cosmetics (3)
Diffstat (limited to 'pyload/plugin/hook/XFileSharingPro.py')
-rw-r--r--pyload/plugin/hook/XFileSharingPro.py4
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'])