X-Git-Url: https://git.llucax.com/software/pymin.git/blobdiff_plain/f49a9cfed0c5d8b13f6a9f558cee8222864aece0..f607bd2a0afe9d30f7d033c90b6602d3b42e02a7:/dispatcher.py diff --git a/dispatcher.py b/dispatcher.py index a554133..b10303f 100644 --- a/dispatcher.py +++ b/dispatcher.py @@ -195,7 +195,7 @@ def parse_command(command): escape = False keyword = None state = SEP - for c in command: + for n, c in enumerate(command): # Escaped character if escape: for e in escaped_chars: @@ -214,7 +214,7 @@ def parse_command(command): if state == SEP: if c in separators: continue - if buff: + if buff and n != 2: # First item, not a escape sequence if c == EQUAL: # Keyword found keyword = buff buff = u''