From a05dbe708dab9efea8a35ad32544163f07ca2b4a Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 7 May 2018 10:07:56 +0100 Subject: [PATCH] Fix up the issue @imhlv2 found in schema_validate. --- development/schema_validate.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/development/schema_validate.py b/development/schema_validate.py index 3d7781e74..f02525a00 100644 --- a/development/schema_validate.py +++ b/development/schema_validate.py @@ -28,8 +28,7 @@ if __name__ == '__main__': schema = None if args.schema: - basepath = os.path.abspath(os.path.dirname(__file__)) - with open(os.path.join(basepath, args.schema), 'r') as s: + with open(os.path.abspath(args.schema), 'r') as s: schema = json.load(s) failures = []