fixes a bug introduced in 8d77347f

This commit is contained in:
Martinez 2017-04-14 22:26:31 +02:00
parent 8d77347f22
commit d1c88b2e73
2 changed files with 3 additions and 3 deletions

View file

@ -591,7 +591,7 @@ class Main:
if option.source != Option_sources.none:
for raw_value in option._raw_value_list:
colored_current_value = cmd.format_invocation(str(x) for x in raw_value)
if colored_current_value[0] == '"':
if colored_current_value and colored_current_value[0] == '"':
colored_current_value = '"<M>' + colored_current_value[1:-1] + '<.>"'
else:
colored_current_value = '<M>' + colored_current_value + '<.>'

View file

@ -4,5 +4,5 @@
major = 1 # VERSION_MAJOR_IDENTIFIER
minor = 99 # VERSION_MINOR_IDENTIFIER
# VERSION_LAST_MM 1.99
patch = 21 # VERSION_PATCH_IDENTIFIER
str = "1.99.21" # VERSION_STRING_IDENTIFIER
patch = 22 # VERSION_PATCH_IDENTIFIER
str = "1.99.22" # VERSION_STRING_IDENTIFIER