schedule schema validation file location fix

This commit is contained in:
Brian Lindner 2022-10-23 16:24:52 -04:00
parent bd891ccf88
commit de17661e44
No known key found for this signature in database

View File

@ -312,7 +312,7 @@ def schedulefile_contents(schedule_filename: Optional[str]) -> dict[str, any]:
logger.error('Missing schedule file: "%s"', filestr)
raise FileNotFoundError(filestr)
schema_filename = os.path.abspath("util/schedulefile_schema.json")
schema_filename = "util/schedulefile_schema.json"
# make sure the Schema validation file is available
if not os.path.exists(str(schema_filename)):