summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cython/plist.pyx2
1 files changed, 2 insertions, 0 deletions
diff --git a/cython/plist.pyx b/cython/plist.pyx
index 336b16f..f4e7dbb 100644
--- a/cython/plist.pyx
+++ b/cython/plist.pyx
@@ -697,3 +697,5 @@ cdef object plist_t_to_node(plist_t c_plist, bool managed=True):
return Date_factory(c_plist, managed)
if t == PLIST_DATA:
return Data_factory(c_plist, managed)
+ if t == PLIST_NONE:
+ return None