aboutsummaryrefslogtreecommitdiff
path: root/app/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/views.py')
-rw-r--r--app/views.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views.py b/app/views.py
index 65dd4a9..86a01fd 100644
--- a/app/views.py
+++ b/app/views.py
@@ -222,7 +222,8 @@ def dock_upload():
mycon.commit()
print("Description",description)
-
+ cwd = os.path.join(os.getcwd(),"app")
+ subprocess.Popen(['python3', 'dock-docker.py'],cwd=cwd)
return render_template('display_result.html', filename="OwO", description=description,job=jobID)
flash_errors(form)