mensa: Another fix

This commit is contained in:
Matthias Schiffer 2010-11-28 17:37:33 +01:00
parent 9558d97369
commit 86d40c4421

View file

@ -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).match(data)
match = re.compile(r'^.*?<table[^>]*>.*?<td[^>]*>.*?(\d+)\.(\d+)\. - \d+\.\d+\.(\d+).*?</td>.*?<td[^>]*>Freitag</td>\s*</tr>(.*?)</table>.*$', re.DOTALL).match(data)
if not match:
return False