Add missing :

This commit is contained in:
jesopo 2019-02-18 13:54:09 +00:00
parent cae6d970ca
commit d937145f93

View file

@ -100,7 +100,7 @@ def parse_line(line: str) -> IRCParsedLine:
line, trailing_separator, trailing_split = line.partition(" :") line, trailing_separator, trailing_split = line.partition(" :")
trailing = None # type: typing.Optional[str] trailing = None # type: typing.Optional[str]
if trailing_separator if trailing_separator:
trailing = trailing_split trailing = trailing_split
if line[0] == ":": if line[0] == ":":