Commit 4bff4c28 authored by di68kap's avatar di68kap

- DHParser/parse.py ParserError bugfix

parent 96d20898
......@@ -118,7 +118,7 @@ class ParserError(Exception):
self.first_throw = first_throw # type: bool
def __str__(self):
return "%i: %s %s" % (self.node.pos, self.rest[:25], repr(self.node))
return "%i: %s %s" % (self.node.pos, str(self.rest[:25]), repr(self.node))
ResumeList = List[Union[str, Any]] # list of strings or regular expressiones
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment