remove duplicate

This commit is contained in:
Mylloon 2021-08-04 01:06:16 +02:00
parent 7f7b66727e
commit 4384cf4ed1

View file

@ -44,7 +44,7 @@ def getFriendsID(api, users: list):
liste = []
for user in users:
liste.extend(api.friends_ids(user))
return liste
return list(set(liste))
def seniority(date: str):
datetimeObject = datetime.strptime(date, '%a %b %d %H:%M:%S +0000 %Y') # Convert String format to datetime format