Skip to content

Commit

Permalink
fix: pass __file__ to Job initialization in crowdsec-conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
TheophileDiot committed Jan 9, 2025
1 parent 733091d commit bc09dd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crowdsec/jobs/crowdsec-conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")))
Expand Down

0 comments on commit bc09dd1

Please sign in to comment.