change method of writing to system PATH. Fixes #830

This commit is contained in:
clinton-hall 2019-03-02 09:03:21 +13:00
commit 3f3e1415c9

View file

@ -1020,7 +1020,7 @@ def configure_utility_locations():
else:
if SYS_PATH:
sys.path.append(SYS_PATH)
os.environ['PATH'] += ':'+SYS_PATH
try:
SEVENZIP = subprocess.Popen(['which', '7z'], stdout=subprocess.PIPE).communicate()[0].strip().decode()
except Exception: