summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/internal/SimpleCrypter.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-06 00:54:30 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-06 00:54:30 +0200
commit5fde0798809546698cf2b2eb4aa95d0c6aa68815 (patch)
treed63c152f37e2a03453f8c0d25b40209a753c8c47 /pyload/plugin/internal/SimpleCrypter.py
parentMerge branch 'stable' into 0.4.10 (diff)
downloadpyload-5fde0798809546698cf2b2eb4aa95d0c6aa68815.tar.xz
handleFree -> handle_free and so on...
Diffstat (limited to 'pyload/plugin/internal/SimpleCrypter.py')
-rw-r--r--pyload/plugin/internal/SimpleCrypter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugin/internal/SimpleCrypter.py b/pyload/plugin/internal/SimpleCrypter.py
index e22a4df29..dff543eed 100644
--- a/pyload/plugin/internal/SimpleCrypter.py
+++ b/pyload/plugin/internal/SimpleCrypter.py
@@ -94,7 +94,7 @@ class SimpleCrypter(Crypter, SimpleHoster):
self.links = self.getLinks()
if hasattr(self, 'PAGES_PATTERN') and hasattr(self, 'loadPage'):
- self.handlePages(pyfile)
+ self.handle_pages(pyfile)
self.logDebug("Package has %d links" % len(self.links))
@@ -142,7 +142,7 @@ class SimpleCrypter(Crypter, SimpleHoster):
for link in re.findall(self.LINK_PATTERN, self.html)]
- def handlePages(self, pyfile):
+ def handle_pages(self, pyfile):
try:
pages = int(re.search(self.PAGES_PATTERN, self.html).group(1))
except Exception: