Skip to content

Commit 55604ca

Browse files
committed
Return properly decoded entry.name
1 parent 44326fa commit 55604ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygit2/config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def next(self):
6363

6464
def __next__(self):
6565
entry = self._next_entry()
66-
return ffi.string(entry.name).decode('utf-8')
66+
return entry.name
6767

6868

6969
class ConfigMultivarIterator(ConfigIterator):

0 commit comments

Comments
 (0)