# HG changeset patch # User bornea # Date 1454017262 18000 # Node ID d525ea266d8a0e54fc78622332561a679b12cbbf # Parent bec1c735fe967b11ae7b8aba7fa85c27629aa5ea Uploaded diff -r bec1c735fe96 -r d525ea266d8a saint_wrapper.py --- a/saint_wrapper.py Thu Jan 28 16:38:47 2016 -0500 +++ b/saint_wrapper.py Thu Jan 28 16:41:02 2016 -0500 @@ -41,7 +41,7 @@ def first_run_check(): dirs_list = [] - for (dirpath, dirnames, filename) in os.walk(ins_path): + for (dirpath, dirnames, filename) in os.walk(str(ins_path)): dirs_list.extend(dirnames) break if r"SAINTexpress_v3.6.1__2015-05-03" in dirs_list: @@ -49,7 +49,7 @@ else: cmd = r"unzip SAINTexpress_v3.6.1__2015-05-03.zip" os.system(cmd) - os.chdir("./SAINTexpress_v3.6.1__2015-05-03") + os.chdir(str(ins_path) + "/SAINTexpress_v3.6.1__2015-05-03") cmd1 = r"make -j" os.system(cmd1)