From 590eb2b49512c65bcd620fa0af0c42cc364edade Mon Sep 17 00:00:00 2001 From: Will Holland Date: Wed, 16 Sep 2015 18:24:18 +0100 Subject: Remove hardcoded user home dir --- deploy_logic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'deploy_logic.py') diff --git a/deploy_logic.py b/deploy_logic.py index c5b3150..a0cbd2e 100644 --- a/deploy_logic.py +++ b/deploy_logic.py @@ -1,4 +1,4 @@ -import subprocess +import subprocess, os ORCHE_URL = 'http://127.0.0.1:8080/' BUILD_SCRIPT = 'build_a_system.sh' @@ -15,7 +15,7 @@ whitelist = [ 'strata/bsp-x86_64-generic.morph', ] -LOGFILE = '/home/williamholland/orchestration/trigger_log' +LOGFILE = os.path.expanduser("~/orchestration/trigger_log") log_file = open(LOGFILE,'a') -- cgit v1.2.1