From b9ecd19e918d9dccebc04a056f9e4f269c1a7328 Mon Sep 17 00:00:00 2001 From: Dan Howe Date: Mon, 2 Jul 2018 13:44:41 +1000 Subject: [PATCH] Ensure all lastools arguments are strings --- survey_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/survey_tools.py b/survey_tools.py index 9803736..2bc2158 100644 --- a/survey_tools.py +++ b/survey_tools.py @@ -54,7 +54,7 @@ def call_lastools(tool_name, input, output=None, args=None, verbose=True): # Append additional lastools arguments, if provided if args: - cmd += args + cmd += [str(a) for a in args] process = subprocess.Popen( cmd,