Commit 82cd32264fe0997038fc29adfa62550a56076d87

Authored by Geoffrey PREUD'HOMME
1 parent 337c46b3

Suppression du debug dans custom.py.example

Showing 1 changed file with 0 additions and 2 deletions   Show diff stats
1 #!/usr/bin/env python3 1 #!/usr/bin/env python3
2 2
3 def filterEvent(event): 3 def filterEvent(event):
4 - print(event)  
5 # Enlève le Renforcement TOEIC 4 # Enlève le Renforcement TOEIC
6 if event.shortName == 'Renf.TOEIC': 5 if event.shortName == 'Renf.TOEIC':
7 event.active = False 6 event.active = False
8 # Remplace LV2 par allemand 7 # Remplace LV2 par allemand
9 elif event.shortName == 'LV2': 8 elif event.shortName == 'LV2':
10 event.shortName = 'All' 9 event.shortName = 'All'
11 - print(event.longName)  
12 event.longName = event.longName.replace('LV2', 'Allemand') 10 event.longName = event.longName.replace('LV2', 'Allemand')
13 11