diff --git a/statsig/spec_store.py b/statsig/spec_store.py index 1e0e9b0..e496d0a 100644 --- a/statsig/spec_store.py +++ b/statsig/spec_store.py @@ -166,8 +166,8 @@ def _process_specs(self, specs_json, source: DataSource) -> Tuple[bool, bool]: return False, False if specs_json.get("time", 0) < self.last_update_time(): return False, False - copy = json.dumps(specs_json) if callable(self._options.rules_updated_callback): + copy = json.dumps(specs_json) self._options.rules_updated_callback(copy) def get_parsed_specs(key: str):