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