Set deleted props to None instead of ""

This commit is contained in:
Unrud 2017-08-04 14:59:00 +02:00
parent f91b2bc17e
commit 5c15b30058

View File

@ -622,7 +622,7 @@ class BaseCollection:
delta_props = self.get_meta() delta_props = self.get_meta()
for key in delta_props.keys(): for key in delta_props.keys():
if key not in props: if key not in props:
delta_props[key] = "" delta_props[key] = None
delta_props.update(props) delta_props.update(props)
self.set_meta(self, delta_props) self.set_meta(self, delta_props)