[go: up one dir, main page]

Skip to content

Commit

Permalink
Merge pull request #14 from TheDauntless/main
Browse files Browse the repository at this point in the history
Fix version check
  • Loading branch information
rscloura authored Apr 12, 2022
2 parents 660335c + d4e8712 commit 345f0ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def loadLibraries(blob):
}

for key,value in SUPPORTED_SNAPSHOT.items():
if version in key:
if version in value:
snapshotModule = importlib.import_module('{}.Snapshot'.format(key))
resolverModule = importlib.import_module('{}.Resolver'.format(key))
classIdModule = importlib.import_module('{}.ClassId'.format(key))
Expand Down Expand Up @@ -86,4 +86,4 @@ def dump(snapshot, output):
if args.verbose:
logging.basicConfig(format='%(levelname)s:%(message)s', level=logging.INFO)
isolate = parseELF(args.file)
dump(isolate, args.output)
dump(isolate, args.output)

0 comments on commit 345f0ea

Please sign in to comment.