From 5fde0798809546698cf2b2eb4aa95d0c6aa68815 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Wed, 6 May 2015 00:54:30 +0200 Subject: handleFree -> handle_free and so on... --- pyload/plugin/internal/SimpleCrypter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pyload/plugin/internal/SimpleCrypter.py') 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: -- cgit v1.2.3