Commit 0e1af846faf9f0e6d37d2e6a26686dc9b20eb4b2

Authored by Alexis Koralewski
1 parent 8d9c8345
Exists in dev

Changing option of PYROSW wrapper from '--docker' to '--venv'

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
PYROSW.py
... ... @@ -49,11 +49,11 @@ WITH_DOCKER_IS_SET = False if os.getenv('WITH_DOCKER') is None else True
49 49 # [ -d ../app/ ] && APP_FOLDER=true
50 50 APP_FOLDER = os.path.exists('../app/')
51 51  
52   -VENV = os.path.exists('./venv/')
  52 +VENV = False
53 53  
54 54 args = sys.argv[1:]
55   -if args[0] == "--docker":
56   - VENV = False
  55 +if args[0] == "--venv":
  56 + VENV = True
57 57 args.pop(0)
58 58 args = ' '.join(args)
59 59 # test if docker is installed
... ...