mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 14:13:21 +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())
|
kwargs['barmen'].append(Subscriber.objects.filter(id=b).first())
|
||||||
Counter.barmen_session[str(self.object.id)]['time'] = timezone.now()
|
Counter.barmen_session[str(self.object.id)]['time'] = timezone.now()
|
||||||
else:
|
else:
|
||||||
Counter.barmen_session[str(self.object.id)]['users'] = {}
|
Counter.barmen_session[str(self.object.id)]['users'] = set()
|
||||||
else:
|
else:
|
||||||
kwargs['barmen'] = []
|
kwargs['barmen'] = []
|
||||||
return kwargs
|
return kwargs
|
||||||
|
Loading…
Reference in New Issue
Block a user