Fix mensa module
This commit is contained in:
parent
33bbc21b0f
commit
bb0168b6b8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Reference in a new issue