fix updater

This commit is contained in:
marco
2020-02-26 22:40:05 +01:00
parent ac44288328
commit d4dc1a4f3c

View File

@@ -249,6 +249,8 @@ def apply_patch(s,patch,revert=False):
if line[0] == sign or line[0] == ' ': t += line[1:]
sl += (line[0] != sign)
t += ''.join(s[sl:])
if not PY3:
t = t.decode('utf-8')
return t