Skip to content

Commit

Permalink
Return entry.value_string from ConfigMultivarIterator
Browse files Browse the repository at this point in the history
  • Loading branch information
thecjharries committed Mar 17, 2018
1 parent 2e14065 commit cb873be
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 @@ -69,7 +69,7 @@ def __next__(self):
class ConfigMultivarIterator(ConfigIterator):
def __next__(self):
entry = self._next_entry()
return ffi.string(entry.value).decode('utf-8')
return entry.value_string


class Config(object):
Expand Down

0 comments on commit cb873be

Please sign in to comment.