Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AE UTBM
Sith
Commits
6eb0ec16
Commit
6eb0ec16
authored
Apr 19, 2016
by
Skia
🤘
Browse files
Tiny fix (le gaulois)
parent
25c1e6dc
Pipeline
#16
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
counter/views.py
View file @
6eb0ec16
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment