From f6196ac068280e76e096ff6a1c66e584ec8cbaa7 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Wed, 2 Sep 2020 18:15:21 +0530 Subject: added instructions in README and deleted misc file --- app/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/views.py') 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) -- cgit v1.2.3