Skip to content

Commit d13a3d0

Browse files
scauligiingydotnet
scauligi
authored andcommitted
Fix for bug #118
1 parent 9959328 commit d13a3d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib3/yaml/emitter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ def prepare_tag(self, tag):
604604
start = end = end+1
605605
data = ch.encode('utf-8')
606606
for ch in data:
607-
chunks.append('%%%02X' % ord(ch))
607+
chunks.append('%%%02X' % ch)
608608
if start < end:
609609
chunks.append(suffix[start:end])
610610
suffix_text = ''.join(chunks)

0 commit comments

Comments
 (0)