Fix CI issues

This commit is contained in:
Giorgos Drosos 2025-07-26 10:21:08 +03:00
commit 94c9bd304a
2 changed files with 2 additions and 2 deletions

View file

@ -137,7 +137,7 @@ class CronVar(object):
self.cron_file = os.path.join('/etc/cron.d', cron_file)
parent_dir = os.path.dirname(self.cron_file)
if not os.path.isdir(parent_dir):
module.fail_json(msg=f"Parent directory '{parent_dir}' does not exist for cron_file: '{cron_file}'")
module.fail_json(msg="Parent directory '{}' does not exist for cron_file: '{}'".format(parent_dir, cron_file))
else:
self.cron_file = None