Tiny fix (le gaulois)

This commit is contained in:
Skia 2016-04-19 03:43:13 +02:00
parent 25c1e6dc58
commit 6eb0ec1620

View File

@ -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