Further fix to extended room.
This commit is contained in:
parent
55634de123
commit
f54e6b22c1
1 changed files with 7 additions and 5 deletions
|
|
@ -141,11 +141,13 @@ class ExtendedRoom(Room):
|
||||||
Filter so that only time markers <timeslot>...</timeslot> of the correct timeslot
|
Filter so that only time markers <timeslot>...</timeslot> of the correct timeslot
|
||||||
remains in the description.
|
remains in the description.
|
||||||
"""
|
"""
|
||||||
regextuple = REGEXMAP[curr_time]
|
if raw_desc:
|
||||||
raw_desc = regextuple[0].sub(r"\1", raw_desc)
|
regextuple = REGEXMAP[curr_time]
|
||||||
raw_desc = regextuple[1].sub("", raw_desc)
|
raw_desc = regextuple[0].sub(r"\1", raw_desc)
|
||||||
raw_desc = regextuple[2].sub("", raw_desc)
|
raw_desc = regextuple[1].sub("", raw_desc)
|
||||||
return regextuple[3].sub("", raw_desc)
|
raw_desc = regextuple[2].sub("", raw_desc)
|
||||||
|
return regextuple[3].sub("", raw_desc)
|
||||||
|
return raw_desc
|
||||||
|
|
||||||
def return_detail(self, key):
|
def return_detail(self, key):
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue