diff options
author | Stefano <l.stickell@yahoo.it> | 2013-04-02 21:46:15 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2013-04-02 21:46:15 +0200 |
commit | 75f150e522cb11fe3de2df05bc3ef5356872db19 (patch) | |
tree | 23d8180abb8c7869191d4494375d595b7c89b91a /module/plugins/internal/SimpleHoster.py | |
parent | SimpleCrypter: decoding loaded html (diff) | |
download | pyload-75f150e522cb11fe3de2df05bc3ef5356872db19.tar.xz |
SimpleHoster: fixed wrong pattern names in documentation
Diffstat (limited to 'module/plugins/internal/SimpleHoster.py')
-rw-r--r-- | module/plugins/internal/SimpleHoster.py | 4 |
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' """ |