This commit is contained in:
deathbybandaid 2019-06-19 08:04:47 -04:00
parent d98af55a04
commit abfb3a8eed

View File

@ -31,7 +31,7 @@ class Sherlock():
self.dict[social_network]["cache"] = dict()
def check_network(self, username, social_network):
username = str(username)
username = str(username).lower()
if username in list(self.dict[social_network]["cache"].keys()):
if time.time() - self.dict[social_network]["cache"][username]["time"] <= 1800: