From de17661e4454924653d810066285b2a226caf972 Mon Sep 17 00:00:00 2001 From: Brian Lindner <8153326+BrianLindner@users.noreply.github.com> Date: Sun, 23 Oct 2022 16:24:52 -0400 Subject: [PATCH] schedule schema validation file location fix --- schedule_preroll.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schedule_preroll.py b/schedule_preroll.py index 870e862..467e3aa 100644 --- a/schedule_preroll.py +++ b/schedule_preroll.py @@ -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)):