From f98b01c12dcb5ffad10ffdc16cb63af4f361175d Mon Sep 17 00:00:00 2001 From: Julien Moura Date: Thu, 18 Apr 2024 17:56:39 +0200 Subject: [PATCH] fix: function was not properly called --- qgis_deployment_toolbelt/jobs/job_profiles_synchronizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qgis_deployment_toolbelt/jobs/job_profiles_synchronizer.py b/qgis_deployment_toolbelt/jobs/job_profiles_synchronizer.py index 43ab26dc..1e4896b0 100644 --- a/qgis_deployment_toolbelt/jobs/job_profiles_synchronizer.py +++ b/qgis_deployment_toolbelt/jobs/job_profiles_synchronizer.py @@ -132,7 +132,7 @@ def filter_profiles_on_rules( li_profiles_matched = [] li_profiles_unmatched = [] - context_object = {"date": datetime_dict, "environment": environment_dict()} + context_object = {"date": datetime_dict(), "environment": environment_dict()} for profile in li_downloaded_profiles: if profile.rules is None: logger.debug(f"No rules to apply to {profile.name}")