mensa.py: Another fix...

This commit is contained in:
Matthias Schiffer 2010-11-08 20:03:49 +01:00
parent ae46cfb761
commit 9558d97369

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>.*?(?:<col[^>]*>\s*){4}(.*?)</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