summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2010-11-28 17:37:33 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2010-11-28 17:37:33 +0100
commit86d40c44217f61e00f5800318e60b98292f658cd (patch)
treef351a918f259054358697351aa9bc912d8b0cb5b
parent9558d973693e9ae3d90f21682893bafdca9cdcb2 (diff)
downloadcurunir-86d40c44217f61e00f5800318e60b98292f658cd.tar
curunir-86d40c44217f61e00f5800318e60b98292f658cd.zip
mensa: Another fix
-rw-r--r--modules/mensa.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mensa.py b/modules/mensa.py
index 8e66796..3c3a197 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).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