summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-04-02 21:46:15 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-04-02 21:46:15 +0200
commit75f150e522cb11fe3de2df05bc3ef5356872db19 (patch)
tree23d8180abb8c7869191d4494375d595b7c89b91a
parentSimpleCrypter: decoding loaded html (diff)
downloadpyload-75f150e522cb11fe3de2df05bc3ef5356872db19.tar.xz
SimpleHoster: fixed wrong pattern names in documentation
-rw-r--r--module/plugins/internal/SimpleHoster.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py
index cfc9f2b43..69ed57ff8 100644
--- a/module/plugins/internal/SimpleHoster.py
+++ b/module/plugins/internal/SimpleHoster.py
@@ -155,8 +155,8 @@ class SimpleHoster(Hoster):
"""
These patterns should be defined by each hoster:
FILE_INFO_PATTERN = r'(?P<N>file_name) (?P<S>file_size) (?P<U>units)'
- or FILE_NAME_INFO = r'(?P<N>file_name)'
- and FILE_SIZE_INFO = r'(?P<S>file_size) (?P<U>units)'
+ or FILE_NAME_PATTERN = r'(?P<N>file_name)'
+ and FILE_SIZE_PATTERN = r'(?P<S>file_size) (?P<U>units)'
FILE_OFFLINE_PATTERN = r'File (deleted|not found)'
TEMP_OFFLINE_PATTERN = r'Server maintainance'
"""