diff --git a/intercom/lib/flat_store.py b/intercom/lib/flat_store.py index 1c330436..7f426812 100644 --- a/intercom/lib/flat_store.py +++ b/intercom/lib/flat_store.py @@ -12,7 +12,8 @@ def __init__(self, *args, **kwargs): def __setitem__(self, key, value): if not ( isinstance(value, numbers.Real) or - isinstance(value, six.string_types) + isinstance(value, six.string_types) or + value is None ): raise ValueError( "custom data only allows string and real number values")