summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/XFileSharingPro.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/hoster/XFileSharingPro.py')
-rw-r--r--pyload/plugin/hoster/XFileSharingPro.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/pyload/plugin/hoster/XFileSharingPro.py b/pyload/plugin/hoster/XFileSharingPro.py
index 8b9f7fcfa..e90826536 100644
--- a/pyload/plugin/hoster/XFileSharingPro.py
+++ b/pyload/plugin/hoster/XFileSharingPro.py
@@ -8,7 +8,7 @@ from pyload.plugin.internal.XFSHoster import XFSHoster
class XFileSharingPro(XFSHoster):
__name__ = "XFileSharingPro"
__type__ = "hoster"
- __version__ = "0.44"
+ __version__ = "0.45"
__pattern__ = r'^unmatchable$'
@@ -34,9 +34,6 @@ class XFileSharingPro(XFSHoster):
self.HOSTER_DOMAIN = re.match(self.__pattern__, self.pyfile.url).group("DOMAIN").lower()
self.HOSTER_NAME = "".join(part.capitalize() for part in re.split(r'(\.|\d+)', self.HOSTER_DOMAIN) if part != '.')
- if self.HOSTER_NAME[0].isdigit():
- self.HOSTER_NAME = 'X' + self.HOSTER_NAME
-
account = self.core.accountManager.getAccountPlugin(self.HOSTER_NAME)
if account and account.canUse():