diff --git a/parser.py b/parser.py index cf2ef5c..3b1cb95 100755 --- a/parser.py +++ b/parser.py @@ -100,7 +100,6 @@ class GoogleSheetsCalParser(HTMLParser): def handle_data(self, data): if self.inDate: self.date[self.column] = dt.strptime(data, '%d-%b-%y').date() - print(self.date[self.column]) elif self.inCell and data not in ['', '-']: times = [time.fromisoformat(TIMETABLE[(self.row - 2) % 12 - 2][1]), time.fromisoformat(TIMETABLE[(self.row - 2) % 12 - 2 + self.rowspan][0])] @@ -115,7 +114,6 @@ class GoogleSheetsCalParser(HTMLParser): self.event.add('uid', f'{self.row}x{self.column}') self.event.add('summary', data) self.event.add('dtstamp', dt.now()) - print(self.row, self.column, times) self.event.add('dtstart', dt.combine(self.date[self.column], times[0], pytz.timezone('Europe/Paris'))) self.event.add('dtend', dt.combine(self.date[self.column], times[1],