From 2766866f95f0f4165a68006366054b492e228608 Mon Sep 17 00:00:00 2001 From: edpibu Date: Mon, 21 Sep 2020 19:10:14 +0200 Subject: [PATCH] Removed print --- parser.py | 2 -- 1 file changed, 2 deletions(-) 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],