Change pop() to first()
This commit is contained in:
parent
e3766762ee
commit
814ddc567e
1 changed files with 1 additions and 1 deletions
|
|
@ -301,7 +301,7 @@ class CmdDelAccount(COMMAND_DEFAULT_CLASS):
|
|||
|
||||
# one single match
|
||||
|
||||
account = accounts.pop()
|
||||
account = accounts.first()
|
||||
|
||||
if not account.access(caller, 'delete'):
|
||||
string = "You don't have the permissions to delete that account."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue