Skip to content

Commit

Permalink
Return properly decoded entry.name
Browse files Browse the repository at this point in the history
  • Loading branch information
thecjharries committed Mar 17, 2018
1 parent 44326fa commit 55604ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygit2/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def next(self):

def __next__(self):
entry = self._next_entry()
return ffi.string(entry.name).decode('utf-8')
return entry.name


class ConfigMultivarIterator(ConfigIterator):
Expand Down

0 comments on commit 55604ca

Please sign in to comment.