remove duplicate
This commit is contained in:
parent
7f7b66727e
commit
4384cf4ed1
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -44,7 +44,7 @@ def getFriendsID(api, users: list):
|
||||||
liste = []
|
liste = []
|
||||||
for user in users:
|
for user in users:
|
||||||
liste.extend(api.friends_ids(user))
|
liste.extend(api.friends_ids(user))
|
||||||
return liste
|
return list(set(liste))
|
||||||
|
|
||||||
def seniority(date: str):
|
def seniority(date: str):
|
||||||
datetimeObject = datetime.strptime(date, '%a %b %d %H:%M:%S +0000 %Y') # Convert String format to datetime format
|
datetimeObject = datetime.strptime(date, '%a %b %d %H:%M:%S +0000 %Y') # Convert String format to datetime format
|
||||||
|
|
Reference in a new issue