aboutsummaryrefslogtreecommitdiff
path: root/app/views.py
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-09-02 18:15:21 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-09-02 18:15:21 +0530
commitf6196ac068280e76e096ff6a1c66e584ec8cbaa7 (patch)
tree0a97046bea7ea9117f828f2d5781be9e47297519 /app/views.py
parent9e749e326bbcf72c575798b8b5f6bfc99053efb2 (diff)
added instructions in README and deleted misc file
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)