From 8fe4e5e8a5019515ed3a0d48cfa11fb785aca1b3 Mon Sep 17 00:00:00 2001 From: Ahmed Bilal Khalid Date: Fri, 30 Aug 2019 06:37:37 +0500 Subject: [PATCH] a --- app/helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helper.py b/app/helper.py index e37edd8..6329a82 100644 --- a/app/helper.py +++ b/app/helper.py @@ -87,7 +87,7 @@ class VirtualenvOperation(object): if package_name: command = f"pip install {package_name}" else: - subprocess.check_output("pipenv run pip freeze > requirements.txt".split()) + subprocess.check_output("pipenv run pip freeze > requirements.txt".split(), cwd=path) command = f"pip install -r requirements.txt" try: output = subprocess.check_output(command.split(), cwd=path)