diff --git a/sys/util.py b/sys/util.py index b2e711c..2e303ab 100644 --- a/sys/util.py +++ b/sys/util.py @@ -31,8 +31,9 @@ def split_args(txt): if split_args_state==SA_S0: if c=='"': split_args_state = SA_QUOT - args.append(current) - current = u"" + if len(current)!=0: + args.append(current) + current = u"" elif c in " \t\n": if len(current)!=0: args.append(current)