Merge pull request #68 from deathbybandaid/development

lower
This commit is contained in:
Deathbybandaid 2019-06-19 08:08:29 -04:00 committed by GitHub
commit 2c73440377
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: