chore: fix flake8 warnings
Tested-by: Marge <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2178> Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2178>
This commit is contained in:
parent
4fbef50d71
commit
8f7ab9b3b3
4 changed files with 7 additions and 3 deletions
|
|
@ -69,11 +69,11 @@ def clear_list(inList):
|
|||
outList = list(dict.fromkeys(inList))
|
||||
try:
|
||||
outList.remove("funkwhale-bot")
|
||||
except:
|
||||
except IndexError:
|
||||
pass
|
||||
try:
|
||||
outList.remove("weblate (bot)")
|
||||
except:
|
||||
except IndexError:
|
||||
pass
|
||||
outList.sort()
|
||||
return outList
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue