This commit is contained in:
deathbybandaid 2019-06-17 16:04:42 -04:00
parent 92414f85f0
commit 827449c974

View File

@ -68,10 +68,10 @@ class Sherlock():
if error not in r.url:
user_exists = True
if username not in list(self.dict[social_network]["cache"].keys()):
self.dict[social_network]["cache"][username] = {}
self.dict[social_network]["cache"][username]["time"] = time.time()
self.dict[social_network]["cache"][username]["exists"] = user_exists
self.dict[social_network]["cache"][username] = {
"time": time.time(),
"exists": user_exists
}
if user_exists:
return True