diff options
author | Walter Purcaro <vuolter@gmail.com> | 2015-01-10 02:16:58 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2015-01-10 02:16:58 +0100 |
commit | 4c43c2948fe0092ca6dfa8f5fa3e52325e01df5e (patch) | |
tree | 0498361c9942b44ed9d023dc7f8af6849f623e58 /module/plugins/internal | |
parent | [RyushareCom] Update (diff) | |
download | pyload-4c43c2948fe0092ca6dfa8f5fa3e52325e01df5e.tar.xz |
[FilefactoryComFolder] Fix https://github.com/pyload/pyload/issues/961
Diffstat (limited to 'module/plugins/internal')
-rw-r--r-- | module/plugins/internal/SimpleCrypter.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/module/plugins/internal/SimpleCrypter.py b/module/plugins/internal/SimpleCrypter.py index e16e45405..c1571c679 100644 --- a/module/plugins/internal/SimpleCrypter.py +++ b/module/plugins/internal/SimpleCrypter.py @@ -155,8 +155,7 @@ class SimpleCrypter(Crypter, SimpleHoster): def handlePages(self, pyfile): try: - m = re.search(self.PAGES_PATTERN, self.html) - pages = int(m.group(1)) + pages = int(re.search(self.PAGES_PATTERN, self.html).group(1)) except: pages = 1 |