summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-18 21:22:28 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-18 21:22:28 +0200
commit513583913d7dea2bae4576fabde71578a9d46e01 (patch)
tree88cf86b77b5fa50097476bd516151a18aafde86e /module/plugins/hoster
parentMerge pull request #2024 from GammaC0de/patch-6 (diff)
parentUpdate XFileSharingPro.py (diff)
downloadpyload-513583913d7dea2bae4576fabde71578a9d46e01.tar.xz
Merge branch 'pr/n2038_GammaC0de' into stable
Conflicts: module/plugins/hoster/XFileSharingPro.py
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/XFileSharingPro.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/XFileSharingPro.py b/module/plugins/hoster/XFileSharingPro.py
index 86ef4f7f0..59cfa8af0 100644
--- a/module/plugins/hoster/XFileSharingPro.py
+++ b/module/plugins/hoster/XFileSharingPro.py
@@ -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