Fix up the issue @imhlv2 found in schema_validate.

This commit is contained in:
Mike Auty
2018-05-07 10:07:56 +01:00
parent f23c4b51e4
commit a05dbe708d
+1 -2
View File
@@ -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 = []