diff --git a/kedro-telemetry/kedro_telemetry/plugin.py b/kedro-telemetry/kedro_telemetry/plugin.py index 95328d7b2..26aced8a7 100644 --- a/kedro-telemetry/kedro_telemetry/plugin.py +++ b/kedro-telemetry/kedro_telemetry/plugin.py @@ -202,8 +202,7 @@ def after_command_run(self): def after_context_created(self, context): """Hook implementation to send project statistics data to Heap""" - if self._consent is None: - self._consent = _check_for_telemetry_consent(context.project_path) + self._consent = _check_for_telemetry_consent(context.project_path) self._project_path = context.project_path @hook_impl