Skip to content

Commit

Permalink
Simeon Visser noticed that "enforce utf-8 encoding when we open data.…
Browse files Browse the repository at this point in the history
…json" (sherlock-project#8) got undone in the previous merge.  Include it again.
  • Loading branch information
hoadlck committed Dec 30, 2018
1 parent fe2feff commit 55b6ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sherlock.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def sherlock(username, verbose=False, tor=False, unique_tor=False):
}

# Load the data
raw = open("data.json", "r")
raw = open("data.json", "r", encoding="utf-8")
data = json.load(raw)

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

0 comments on commit 55b6ffa

Please sign in to comment.