From bc59c97049532cfca61976ec8f52e091d8a644e2 Mon Sep 17 00:00:00 2001 From: tr4ck3ur Date: Mon, 27 Jul 2015 04:24:04 +0200 Subject: [PATCH] Fix Typo on Atelier rooms --- jm2l/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jm2l/views.py b/jm2l/views.py index eb82923..e73e971 100644 --- a/jm2l/views.py +++ b/jm2l/views.py @@ -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] )