Browse Source

Fix Typo on Atelier rooms

tr4ck3ur 2 years ago
parent
commit
bc59c97049
1 changed files with 1 additions and 1 deletions
  1. 1 1
      jm2l/views.py

+ 1 - 1
jm2l/views.py

@@ -1436,7 +1436,7 @@ def edit_event(request):
1436 1436
                 [60, 90, 120, 150, 180, 210, 240] )
1437 1437
         if not duration in map(lambda (d,y): d, form.duration.choices):
1438 1438
             form.duration.choices.append( (duration,u'Atelier (%dh%.2d)' % (duration/60, duration%60) ) )
1439
-        SalleDispo = SalleDispo.filter(Salles.place_type.in_(['Ateliers', 'MAO']))
1439
+        SalleDispo = SalleDispo.filter(Salles.place_type.in_(['Atelier', 'MAO']))
1440 1440
     elif intervention=="Table_ronde":
1441 1441
         form.duration.choices = map( lambda d:(d, u'Table ronde (%dh%.2d)' % (d/60, d%60) ), \
1442 1442
                 [60, 90, 120, 150] )