python wml parser: Fixed strange bug
This commit is contained in:
parent
8da75c5dfb
commit
b75e8cd0ed
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@ class Parser:
|
|||
u = text.decode("latin1")
|
||||
text = u
|
||||
text = text.replace("\r\n", "\n").replace("\t", " ")
|
||||
if text[-1] != "\n": text += "\n"
|
||||
return text
|
||||
|
||||
def set_macro_not_found_callback(self, callback):
|
||||
|
|
Loading…
Add table
Reference in a new issue