Merge pull request #1515 from chainsol/fix_account_delete

Change pop() to first() in commands/default/admin.py
This commit is contained in:
Griatch 2017-11-29 20:11:55 +01:00 committed by GitHub
commit 25bfc8f9e8

View file

@ -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."