Handle empty tag sections, e.g. "@;tag=value"
This commit is contained in:
parent
6e257c6e1b
commit
4368c69035
1 changed files with 3 additions and 2 deletions
|
@ -55,8 +55,9 @@ class LineHandler(object):
|
|||
if line[0] == "@":
|
||||
tags_prefix, line = line[1:].split(" ", 1)
|
||||
for tag in tags_prefix.split(";"):
|
||||
tag_split = tag.split("=", 1)
|
||||
tags[tag[0]] = tag[1:]
|
||||
if tag:
|
||||
tag_split = tag.split("=", 1)
|
||||
tags[tag[0]] = tag[1:]
|
||||
|
||||
if line[0] == ":":
|
||||
prefix, command, line = line[1:].split(" ", 2)
|
||||
|
|
Loading…
Reference in a new issue