diff options
-rw-r--r-- | module/plugins/hoster/XFileSharingPro.py | 2 |
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 |