Messages inutiles.
This commit is contained in:
parent
6ff0c4e1a0
commit
a9a311de01
1 changed files with 2 additions and 3 deletions
5
main.py
5
main.py
|
@ -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__':
|
||||
|
|
Loading…
Reference in a new issue