From cd55aebb4e84255dedffbe35660e280a2d87851c Mon Sep 17 00:00:00 2001 From: James Kingsley Date: Wed, 12 Apr 2017 18:15:18 +0100 Subject: [PATCH] Strip whitespace --- tools/build_sandbox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/build_sandbox.py b/tools/build_sandbox.py index 7c25151..527c9eb 100644 --- a/tools/build_sandbox.py +++ b/tools/build_sandbox.py @@ -21,7 +21,7 @@ def copy_folder(src, dst): new_sqm = "../build/ARCMF_Sandbox.VR/new_mission.sqm" orig_ext = "../build/ARCMF_Sandbox.VR/description.ext" new_ext = "../build/ARCMF_Sandbox.VR/new_description.ext" -with open('../ARCMF.VR/version.txt') as v: version = v.read() +with open('../ARCMF.VR/version.txt') as v: version = v.read().strip() if os.path.isdir(sandbox_dir): shutil.rmtree(sandbox_dir)