Messages inutiles.

This commit is contained in:
Klafyvel 2017-12-18 15:15:43 +01:00
parent 6ff0c4e1a0
commit a9a311de01

View file

@ -139,7 +139,6 @@ class Event:
'useDefault': False, 'useDefault': False,
'overrides': [], 'overrides': [],
}, },
'description': 'ntnoe_calendar',
} }
@ -224,7 +223,7 @@ def main():
).execute() ).execute()
for event in former_ones['items']: for event in former_ones['items']:
logger.info('Deleting event : {}'.format(event['id'])) logger.debug('Deleting event : {}'.format(event['id']))
service.events().delete( service.events().delete(
calendarId=ntnoe_calendar_id, calendarId=ntnoe_calendar_id,
eventId=event['id'] eventId=event['id']
@ -246,7 +245,7 @@ def main():
calendarId=ntnoe_calendar_id, calendarId=ntnoe_calendar_id,
body=event.as_google() body=event.as_google()
).execute() ).execute()
logger.info("Adding event : {}".format(event['id'])) logger.debug("Adding event : {}".format(event['id']))
if __name__ == '__main__': if __name__ == '__main__':