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
|
||||
def create(cls, data):
|
||||
return cls().unserialize(data)
|
||||
if data:
|
||||
return cls().unserialize(data)
|
||||
|
Loading…
Reference in New Issue
Block a user