util: Do not parse mutltiple spaces into empty parts in to_args parser

This commit is contained in:
Tomas Babej 2015-03-24 21:49:11 +01:00
parent 66b4d1bbf5
commit 9a856d9660

View file

@ -53,7 +53,7 @@ def tw_modstring_to_args(line):
if not ignored:
current_part += char
if process_next_part:
if process_next_part and current_part:
output.append(current_part)
current_part = ''