Commit 3ceae531 authored by Bryan Forbes's avatar Bryan Forbes Committed by Nikias Bassen

If the plist type is none, return None.

parent f57dd030
......@@ -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
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