diff --git a/management/commands/import_nk15.py b/management/commands/import_nk15.py index af7d391..21e1e44 100644 --- a/management/commands/import_nk15.py +++ b/management/commands/import_nk15.py @@ -66,7 +66,7 @@ def import_comptes(cur): update_line(idx, n, row["pseudo"]) if row["type"] == "personne": # sanitize password - if row["passwd"] != "*|*": + if row["passwd"] != "*|*" and not row["deleted"]: passwd_nk15 = "$".join(["custom_nk15", "1", row["passwd"]]) else: passwd_nk15 = ''