Skip to content

Commit

Permalink
Merge branch 'pr/n49_cblument'
Browse files Browse the repository at this point in the history
  • Loading branch information
hoadlck committed Dec 31, 2018
2 parents 8090a96 + ce53663 commit 448f072
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sherlock.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ def sherlock(username, verbose=False, tor=False, unique_tor=False):
}

# Load the data
with open("data.json", "r", encoding="utf-8") as raw:
data_file_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), "data.json")
with open(data_file_path, "r", encoding="utf-8") as raw:
data = json.load(raw)

# Allow 1 thread for each external service, so `len(data)` threads total
Expand Down

0 comments on commit 448f072

Please sign in to comment.