mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 05:13:16 -07:00
change method of writing to system PATH. Fixes #830
This commit is contained in:
parent
27cfc34577
commit
3f3e1415c9
1 changed files with 1 additions and 1 deletions
|
@ -1020,7 +1020,7 @@ def configure_utility_locations():
|
||||||
|
|
||||||
else:
|
else:
|
||||||
if SYS_PATH:
|
if SYS_PATH:
|
||||||
sys.path.append(SYS_PATH)
|
os.environ['PATH'] += ':'+SYS_PATH
|
||||||
try:
|
try:
|
||||||
SEVENZIP = subprocess.Popen(['which', '7z'], stdout=subprocess.PIPE).communicate()[0].strip().decode()
|
SEVENZIP = subprocess.Popen(['which', '7z'], stdout=subprocess.PIPE).communicate()[0].strip().decode()
|
||||||
except Exception:
|
except Exception:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue