Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit eab68ba

Browse files
committed
handle quoted strings
1 parent 9ae8cba commit eab68ba

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cli4/cli4.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ def process_params_content_files(method, binary_file, args):
104104
sys.exit('cli4: %s=%s - file open failure' % (tag_string, filename))
105105
# no need for param code below
106106
continue
107+
elif (value_string[0] == '"' and value_string[-1] == '"') or (value_string[0] == '\'' and value_string[-1] == '\''):
108+
# remove quotes
109+
value = value_string[1:-1]
107110
else:
108111
value = value_string
109112

0 commit comments

Comments
 (0)