Commit 9c76541d authored by Vladislav Rykov's avatar Vladislav Rykov
Browse files

implementing automation logic

parent e575951a
...@@ -587,6 +587,9 @@ def automation(): ...@@ -587,6 +587,9 @@ def automation():
if request.method == 'GET': if request.method == 'GET':
auto = nfs.get_automation_list(session['appkey']) auto = nfs.get_automation_list(session['appkey'])
return render_template('public/automation.html', auto_list=auto[1]) return render_template('public/automation.html', auto_list=auto[1])
elif request.method == 'POST':
# new automation
return redirect(url_for('autmation'))
else: else:
return redirect(url_for('index')) return redirect(url_for('index'))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment