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