Return None if Object.create(None); white space cleanup
This commit is contained in:
parent
ccbed9cb95
commit
e5d6be61f8
@ -228,4 +228,5 @@ class BaseObject(object):
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def create(cls, data):
|
def create(cls, data):
|
||||||
|
if data:
|
||||||
return cls().unserialize(data)
|
return cls().unserialize(data)
|
||||||
|
Loading…
Reference in New Issue
Block a user