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
BDE
Note Kfet 2015 django
Commits
b90c318d
Commit
b90c318d
authored
Aug 27, 2019
by
raida
Browse files
Test
parent
1a537ff8
Changes
1
Hide whitespace changes
Inline
Side-by-side
note/views.py
View file @
b90c318d
...
...
@@ -1684,10 +1684,7 @@ def WEI1Aalgo(request, sock, kwargs):
"""
variables
=
{}
res
=
request
.
session
[
"wei1A2019"
][
"quest"
]
# variables["liste"] = algo1a.test(True, [] if res == '' else res.split("#"), 1)
variables
[
"liste"
]
=
[
'button1'
,
'button2'
,
'button3'
]
variables
[
"liste"
]
=
algo1a
.
test
(
True
,
[]
if
request
.
session
[
"wei1A2019"
][
"quest"
]
==
''
else
res
.
split
(
"#"
),
1
)
# On récupère les paramètres habituels de l'appli WEI
sock
.
write
(
json
.
dumps
([
"wei_main"
,
]))
...
...
Write
Preview
Markdown
is supported
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