mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 07:46:07 -07:00
Make library delete server_id optional
This commit is contained in:
parent
6a87dc9c40
commit
899d2fbf9d
3 changed files with 6 additions and 4 deletions
|
@ -676,7 +676,8 @@ class Users(object):
|
|||
|
||||
success = []
|
||||
for user in result:
|
||||
success.append(self.delete(user_id=user['user_id'], purge_only=purge_only))
|
||||
success.append(self.delete(user_id=user['user_id'],
|
||||
purge_only=purge_only))
|
||||
return all(success)
|
||||
|
||||
elif str(user_id).isdigit():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue