Show More
@@ -10,7 +10,7 Test applying context diffs | |||
|
10 | 10 | > fp = open(path, 'wb') |
|
11 | 11 | > for i, pattern in enumerate(patterns): |
|
12 | 12 | > count = int(pattern[0:-1]) |
|
13 | > char = pattern[-1] + '\n' | |
|
13 | > char = pattern[-1].encode('utf8') + b'\n' | |
|
14 | 14 | > if not lasteol and i == len(patterns) - 1: |
|
15 | 15 | > fp.write((char*count)[:-1]) |
|
16 | 16 | > else: |
General Comments 0
You need to be logged in to leave comments.
Login now