summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/patchwork/parser.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/patchwork/parser.py b/apps/patchwork/parser.py
index 24631b7..2b5e9a0 100644
--- a/apps/patchwork/parser.py
+++ b/apps/patchwork/parser.py
@@ -63,7 +63,8 @@ def parse_patch(text):
lc = (0, 0)
hunk = 0
- for line in text.decode('utf-8').split('\n'):
+
+ for line in text.split('\n'):
line += '\n'
if state == 0: