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 b1eb9cb45..527564293 100644
--- a/module/plugins/crypter/XFileSharingProFolder.py
+++ b/module/plugins/crypter/XFileSharingProFolder.py
@@ -6,9 +6,9 @@ from module.plugins.internal.XFSCrypter import XFSCrypter, create_getInfo
class XFileSharingProFolder(XFSCrypter):
- __name__ = "XFileSharingPro"
+ __name__ = "XFileSharingProFolder"
__type__ = "crypter"
- __version__ = "0.16"
+ __version__ = "0.17"
__status__ = "testing"
__pattern__ = r'https?://(?:www\.)?(?:\w+\.)*(?P<DOMAIN>(?:[\d.]+|[\w\-^_]{3,63}(?:\.[a-zA-Z]{2,}){1,2})(?:\:\d+)?)/(?:user|folder)s?/\w+'
@@ -38,7 +38,7 @@ class XFileSharingProFolder(XFSCrypter):
def _setup(self):
- account_name = self.classname if self.account.PLUGIN_DOMAIN is None else self.PLUGIN_NAME
+ account_name = self.classname if not self.account or self.account.PLUGIN_DOMAIN is None else self.PLUGIN_NAME
self.chunk_limit = 1
self.multiDL = True