lpschedule-generator

libreplanet schedule generator - ricketyspace.net/lpschedule-generator
git clone git://git.ricketyspace.net/lpschedule-generator.git
Log | Files | Refs

commit 77ff1e6d4b8eb5f6dadae10f40bea23bf1885620
parent c4e56e94876b62665565268deaf3fa2aedf7e7c0
Author: rsiddharth <rsd@gnu.org>
Date:   Thu,  1 Jun 2017 01:36:39 +0000

lps_gen.py: Fix whitspace issue.

Diffstat:
lps_gen.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lps_gen.py b/lps_gen.py @@ -119,7 +119,8 @@ class LPiCal(object): self.lp_year = str(lp_year) # Matches strings like '09:45 - 10:30: Lorem ipsum dolor sit.' - self.timeslot_re = re.compile(r'(\d+:\d+).+?(\d+:\d+):\s*(.+\b)') + self.timeslot_re = re.compile(r'(\d+:\d+).+?(\d+:\d+):' + + r'\s*(.+\b)') # Matches strings like 'Saturday, March 19' self.month_day_re = re.compile(r'\w+,\s*([a-zA-Z]+)\s*(\d+)')