summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-03-06 05:40:29 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-03-06 05:40:29 +0100
commitbb0168b6b8c1cad235c4fcd49a8b4232d4d07ee6 (patch)
treec8c2c7041aee79b922520679e1aa307d320398e0 /modules
parent33bbc21b0f056475eed27977e623dc5bd0e6ce85 (diff)
downloadcurunir-bb0168b6b8c1cad235c4fcd49a8b4232d4d07ee6.tar
curunir-bb0168b6b8c1cad235c4fcd49a8b4232d4d07ee6.zip
Fix mensa module
Diffstat (limited to 'modules')
-rw-r--r--modules/mensa.py2
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