summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-10-16 13:35:03 +0200
committerGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-10-16 13:35:03 +0200
commit492e045ab2427b3091cc51a85462f452554bbc1f (patch)
treeba930de765787f2201ac20e5597f5aac3df2aaf6
parentMerge pull request #2023 from astranCZ/patch-2 (diff)
downloadpyload-492e045ab2427b3091cc51a85462f452554bbc1f.tar.xz
Update XFileSharingPro.py
-rw-r--r--module/plugins/hoster/XFileSharingPro.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/XFileSharingPro.py b/module/plugins/hoster/XFileSharingPro.py
index e202d23dd..89797ab57 100644
--- a/module/plugins/hoster/XFileSharingPro.py
+++ b/module/plugins/hoster/XFileSharingPro.py
@@ -8,7 +8,7 @@ from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo
class XFileSharingPro(XFSHoster):
__name__ = "XFileSharingPro"
__type__ = "hoster"
- __version__ = "0.54"
+ __version__ = "0.55"
__status__ = "testing"
__pattern__ = r'https?://(?:www\.)?(?:\w+\.)*?(?P<DOMAIN>(?:[\d.]+|[\w\-^_]{3,}(?:\.[a-zA-Z]{2,}){1,2})(?:\:\d+)?)/(?:embed-)?\w{12}(?:\W|$)'
@@ -37,7 +37,7 @@ class XFileSharingPro(XFSHoster):
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