Commit 057fa38c authored by Nikias Bassen's avatar Nikias Bassen

cython: return correct Key_factory in plist_t_to_node

parent 14a92d9f
......@@ -779,7 +779,7 @@ cdef object plist_t_to_node(plist_t c_plist, bint managed=True):
if t == PLIST_UINT:
return Integer_factory(c_plist, managed)
if t == PLIST_KEY:
return Integer_factory(c_plist, managed)
return Key_factory(c_plist, managed)
if t == PLIST_REAL:
return Real_factory(c_plist, managed)
if t == PLIST_STRING:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment