diff options
author | Christopher <4Christopher@gmx.de> | 2013-04-13 21:06:34 +0200 |
---|---|---|
committer | Christopher <4Christopher@gmx.de> | 2013-04-13 21:06:34 +0200 |
commit | 0b2e9ddcafed94fb780ea8d07ea23f6f14612830 (patch) | |
tree | 36f60fb82cc61cf17947cbe7dcbbc719994e234c /module/plugins/internal/SimpleHoster.py | |
parent | Cleanup. (diff) | |
parent | MBLinkInfo: updated pattern (diff) | |
download | pyload-0b2e9ddcafed94fb780ea8d07ea23f6f14612830.tar.xz |
Merge branch 'stable' of git://github.com/pyload/pyload into stable
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' """ |