diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-03-06 05:40:29 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-03-06 05:40:29 +0100 |
commit | bb0168b6b8c1cad235c4fcd49a8b4232d4d07ee6 (patch) | |
tree | c8c2c7041aee79b922520679e1aa307d320398e0 /modules | |
parent | 33bbc21b0f056475eed27977e623dc5bd0e6ce85 (diff) | |
download | curunir-bb0168b6b8c1cad235c4fcd49a8b4232d4d07ee6.tar curunir-bb0168b6b8c1cad235c4fcd49a8b4232d4d07ee6.zip |
Fix mensa module
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mensa.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mensa.py b/modules/mensa.py index 96f338a..b14ac02 100644 --- a/modules/mensa.py +++ b/modules/mensa.py @@ -59,7 +59,7 @@ class Module(ModuleBase): return (ret, match.end()) - match = re.compile(r'^.*?<table[^>]*>.*?<td[^>]*>.*?(\d+)\.(\d+)\. - \d+\.\d+\.(\d+).*?</td>.*?<td[^>]*>Freitag</td>\s*</tr>(.*?)</table>.*$', re.DOTALL|re.IGNORECASE).match(data) + match = re.compile(r'^.*?<table[^>]*>.*?<td[^>]*>.*?(\d+)\.(\d+)\. ?- ?\d+\.\d+\.(\d+).*?</td>.*?<td[^>]*>Freitag</td>\s*</tr>(.*?)</table>.*$', re.DOTALL|re.IGNORECASE).match(data) if not match: return False |