summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/crypter')
-rw-r--r--module/plugins/crypter/LinkCryptWs.py2
-rw-r--r--module/plugins/crypter/RelinkUs.py8
-rw-r--r--module/plugins/crypter/XFileSharingProFolder.py8
3 files changed, 9 insertions, 9 deletions
diff --git a/module/plugins/crypter/LinkCryptWs.py b/module/plugins/crypter/LinkCryptWs.py
index 44ca502a9..a5d4d7e59 100644
--- a/module/plugins/crypter/LinkCryptWs.py
+++ b/module/plugins/crypter/LinkCryptWs.py
@@ -249,7 +249,7 @@ class LinkCryptWs(Crypter):
package_name, folder_name = self.get_package_info()
self.log_debug("Added package with name %s.%s and container link %s" %( package_name, type, clink.group(1)))
- self.core.api.uploadContainer( "%s.%s" %(package_name, type), self.load(clink.group(1)))
+ self.core.api.uploadContainer('.'.join([package_name, type]), self.load(clink.group(1)))
return "Found it"
return package_links
diff --git a/module/plugins/crypter/RelinkUs.py b/module/plugins/crypter/RelinkUs.py
index 4f3077771..01fb7bffc 100644
--- a/module/plugins/crypter/RelinkUs.py
+++ b/module/plugins/crypter/RelinkUs.py
@@ -187,9 +187,9 @@ class RelinkUs(Crypter):
if source == 'cnl2':
return self.handle_CNL2Links()
elif source == 'dlc':
- return self.handle_d_l_c_links()
+ return self.handle_DLC_links()
elif source == 'web':
- return self.handle_w_e_b_links()
+ return self.handle_WEB_links()
else:
self.error(_('Unknown source type "%s"') % source)
@@ -209,7 +209,7 @@ class RelinkUs(Crypter):
return package_links
- def handle_d_l_c_links(self):
+ def handle_DLC_links(self):
self.log_debug("Search for DLC links")
package_links = []
m = re.search(self.DLC_LINK_REGEX, self.html)
@@ -230,7 +230,7 @@ class RelinkUs(Crypter):
return package_links
- def handle_w_e_b_links(self):
+ def handle_WEB_links(self):
self.log_debug("Search for WEB links")
package_links = []
diff --git a/module/plugins/crypter/XFileSharingProFolder.py b/module/plugins/crypter/XFileSharingProFolder.py
index b9b1b4f23..a7af1f0b0 100644
--- a/module/plugins/crypter/XFileSharingProFolder.py
+++ b/module/plugins/crypter/XFileSharingProFolder.py
@@ -33,7 +33,7 @@ class XFileSharingProFolder(XFSCrypter):
account = self.core.accountManager.getAccountPlugin(self.HOSTER_NAME)
- if account and account.canUse():
+ if account and account.can_use():
self.account = account
elif self.account:
@@ -42,9 +42,9 @@ class XFileSharingProFolder(XFSCrypter):
else:
return
- self.user, data = self.account.selectAccount()
- self.req = self.account.getAccountRequest(self.user)
- self.premium = self.account.isPremium(self.user)
+ self.user, data = self.account.select_account()
+ self.req = self.account.get_account_request(self.user)
+ self.premium = self.account.is_premium(self.user)
getInfo = create_getInfo(XFileSharingProFolder)