Simeon Visser noticed that "enforce utf-8 encoding when we open data.json" (#8) got undone in the previous merge. Include it again.

pull/48/head
Christopher K. Hoadley 6 years ago
parent fe2feff7a7
commit 55b6ffa5ba

@ -89,7 +89,7 @@ def sherlock(username, verbose=False, tor=False, unique_tor=False):
} }
# Load the data # Load the data
raw = open("data.json", "r") raw = open("data.json", "r", encoding="utf-8")
data = json.load(raw) data = json.load(raw)
# Allow 1 thread for each external service, so `len(data)` threads total # Allow 1 thread for each external service, so `len(data)` threads total

Loading…
Cancel
Save