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
Vladislav Rykov
THSO.server
Commits
9c76541d
Commit
9c76541d
authored
May 14, 2020
by
Vladislav Rykov
Browse files
implementing automation logic
parent
e575951a
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/app/__pycache__/views.cpython-37.pyc
View file @
9c76541d
No preview for this file type
app/app/views.py
View file @
9c76541d
...
...
@@ -587,6 +587,9 @@ def automation():
if
request
.
method
==
'GET'
:
auto
=
nfs
.
get_automation_list
(
session
[
'appkey'
])
return
render_template
(
'public/automation.html'
,
auto_list
=
auto
[
1
])
elif
request
.
method
==
'POST'
:
# new automation
return
redirect
(
url_for
(
'autmation'
))
else
:
return
redirect
(
url_for
(
'index'
))
...
...
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