summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/XFileSharingProFolder.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/crypter/XFileSharingProFolder.py')
-rw-r--r--module/plugins/crypter/XFileSharingProFolder.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/crypter/XFileSharingProFolder.py b/module/plugins/crypter/XFileSharingProFolder.py
index 615e9f224..aa65ccd12 100644
--- a/module/plugins/crypter/XFileSharingProFolder.py
+++ b/module/plugins/crypter/XFileSharingProFolder.py
@@ -6,7 +6,7 @@ from module.plugins.internal.XFSCrypter import XFSCrypter, create_getInfo
class XFileSharingProFolder(XFSCrypter):
- __name__ = "XFileSharingProFolder"
+ __name = "XFileSharingPro"
__type__ = "crypter"
__version__ = "0.14"
__status__ = "testing"
@@ -30,9 +30,9 @@ class XFileSharingProFolder(XFSCrypter):
def init(self):
super(XFileSharingProFolder, self).init()
- self.__pattern__ = self.pyload.pluginManager.crypterPlugins[self.__name__]['pattern']
+ self.__pattern = self.pyload.pluginManager.crypterPlugins[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 != '.')