summaryrefslogtreecommitdiff
path: root/ishtar_common/wizards.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-09-17 11:45:15 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-09-17 11:45:15 +0200
commitcf8527ce845fe5105c9aa74333a933caa7bb8365 (patch)
tree266d4bea389e26828ab8a5fa46ca4fd73afb7815 /ishtar_common/wizards.py
parentc6f2a2057cdf30a56d391c7572cd9f14e1fc98e1 (diff)
downloadIshtar-cf8527ce845fe5105c9aa74333a933caa7bb8365.tar.bz2
Ishtar-cf8527ce845fe5105c9aa74333a933caa7bb8365.zip
Account wizard: add multiple profile - do not add a deleted profile
Diffstat (limited to 'ishtar_common/wizards.py')
-rw-r--r--ishtar_common/wizards.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ishtar_common/wizards.py b/ishtar_common/wizards.py
index 62bafdfe4..5a1ab5843 100644
--- a/ishtar_common/wizards.py
+++ b/ishtar_common/wizards.py
@@ -1685,6 +1685,8 @@ class AccountWizard(Wizard):
if data.get('DELETE', None):
profile.delete()
continue
+ elif data.get('DELETE', None):
+ continue
name = data.get('name', None)