summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/XFileSharingPro.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/XFileSharingPro.py')
-rw-r--r--module/plugins/hoster/XFileSharingPro.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/XFileSharingPro.py b/module/plugins/hoster/XFileSharingPro.py
index b2e5e7321..9b4c9aeb3 100644
--- a/module/plugins/hoster/XFileSharingPro.py
+++ b/module/plugins/hoster/XFileSharingPro.py
@@ -6,7 +6,7 @@ from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo
class XFileSharingPro(XFSHoster):
- __name__ = "XFileSharingPro"
+ __name = "XFileSharingPro"
__type__ = "hoster"
__version__ = "0.54"
__status__ = "testing"
@@ -29,9 +29,9 @@ class XFileSharingPro(XFSHoster):
def init(self):
- self.__pattern__ = self.pyload.pluginManager.hosterPlugins[self.__name__]['pattern']
+ self.__pattern = self.pyload.pluginManager.hosterPlugins[self.__name__]['pattern']
- self.PLUGIN_DOMAIN = re.match(self.__pattern__, self.pyfile.url).group("DOMAIN").lower()
+ self.PLUGIN_DOMAIN = re.match(self.__pattern, self.pyfile.url).group("DOMAIN").lower()
self.PLUGIN_NAME = "".join(part.capitalize() for part in re.split(r'(\.|\d+|-)', self.PLUGIN_DOMAIN) if part != '.')