mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-08-17 20:35:40 +02:00
Fix up the issue @imhlv2 found in schema_validate.
This commit is contained in:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user