Fix Typo on Atelier rooms

This commit is contained in:
2015-07-27 04:24:04 +02:00
parent 5b0f39b89b
commit bc59c97049
+1 -1
View File
@@ -1436,7 +1436,7 @@ def edit_event(request):
[60, 90, 120, 150, 180, 210, 240] )
if not duration in map(lambda (d,y): d, form.duration.choices):
form.duration.choices.append( (duration,u'Atelier (%dh%.2d)' % (duration/60, duration%60) ) )
SalleDispo = SalleDispo.filter(Salles.place_type.in_(['Ateliers', 'MAO']))
SalleDispo = SalleDispo.filter(Salles.place_type.in_(['Atelier', 'MAO']))
elif intervention=="Table_ronde":
form.duration.choices = map( lambda d:(d, u'Table ronde (%dh%.2d)' % (d/60, d%60) ), \
[60, 90, 120, 150] )