From 02e58c239fe3fe297dad415a92328e5a4e189bfe Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Thu, 22 Dec 2016 13:46:31 +0100 Subject: [PATCH] Allow Python to be set from environment variable --- classes/Config.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/classes/Config.php b/classes/Config.php index 87fdf10..c57c848 100644 --- a/classes/Config.php +++ b/classes/Config.php @@ -109,6 +109,9 @@ class Config if (getenv('CONVERT')) { $this->convert = (bool) getenv('CONVERT'); } + if (getenv('PYTHON')) { + $this->python = getenv('PYTHON'); + } } /**