diff --git a/eos/saveddata/character.py b/eos/saveddata/character.py index 2e9d26456d..f0b4d9a569 100644 --- a/eos/saveddata/character.py +++ b/eos/saveddata/character.py @@ -192,7 +192,7 @@ def validator(self, key, val): map = {"ID": lambda val: isinstance(val, int), "name" : lambda val: True, "apiKey" : lambda val: val is None or (isinstance(val, basestring) and len(val) > 0), - "ownerID" : lambda val: isinstance(val, int)} + "ownerID" : lambda val: isinstance(val, int) or val is None} if map[key](val) == False: raise ValueError(str(val) + " is not a valid value for " + key) else: return val