From bc09dd1cc5ab0c5a0399e1f6091233cfa39f271c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Diot?= Date: Thu, 9 Jan 2025 16:13:33 +0100 Subject: [PATCH] fix: pass __file__ to Job initialization in crowdsec-conf.py --- crowdsec/jobs/crowdsec-conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crowdsec/jobs/crowdsec-conf.py b/crowdsec/jobs/crowdsec-conf.py index 1c084d4..7c403b2 100755 --- a/crowdsec/jobs/crowdsec-conf.py +++ b/crowdsec/jobs/crowdsec-conf.py @@ -36,7 +36,7 @@ LOGGER.info("CrowdSec is not activated, skipping job...") sys_exit(status) - JOB = Job(LOGGER) + JOB = Job(LOGGER, __file__) # Generate content jinja_env = Environment(loader=FileSystemLoader(PLUGIN_PATH.joinpath("misc")))