Removed print

This commit is contained in:
Edgar P. Burkhart 2020-09-21 19:10:14 +02:00
parent bdbca9bbc3
commit 2766866f95
Signed by: edpibu
GPG Key ID: 9833D3C5A25BD227
1 changed files with 0 additions and 2 deletions

View File

@ -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],