Skip to content

Commit

Permalink
Fixes #1
Browse files Browse the repository at this point in the history
Fix real path for parameters database
  • Loading branch information
s0md3v authored Jan 21, 2021
2 parents c9ce7bb + c492373 commit 9d9278c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/scanner.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import json
import sys

from core.utils import extract_params

with open('./db/params.json') as f:
with open(sys.path[0] + '/db/params.json','r') as f:
param_rules = json.load(f)


Expand Down

0 comments on commit 9d9278c

Please sign in to comment.