mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 06:03:20 +00:00
Tiny fix (le gaulois)
This commit is contained in:
parent
25c1e6dc58
commit
6eb0ec1620
@ -69,7 +69,7 @@ class CounterMain(DetailView, ProcessFormView, FormMixin):
|
||||
kwargs['barmen'].append(Subscriber.objects.filter(id=b).first())
|
||||
Counter.barmen_session[str(self.object.id)]['time'] = timezone.now()
|
||||
else:
|
||||
Counter.barmen_session[str(self.object.id)]['users'] = {}
|
||||
Counter.barmen_session[str(self.object.id)]['users'] = set()
|
||||
else:
|
||||
kwargs['barmen'] = []
|
||||
return kwargs
|
||||
|
Loading…
Reference in New Issue
Block a user