mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 15:09:54 -05:00
test
This commit is contained in:
parent
92414f85f0
commit
827449c974
@ -68,10 +68,10 @@ class Sherlock():
|
|||||||
if error not in r.url:
|
if error not in r.url:
|
||||||
user_exists = True
|
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]["time"] = time.time()
|
"exists": user_exists
|
||||||
self.dict[social_network]["cache"][username]["exists"] = user_exists
|
}
|
||||||
|
|
||||||
if user_exists:
|
if user_exists:
|
||||||
return True
|
return True
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user