1
0
mirror of https://gitlab.crans.org/bde/nk20-scripts synced 2025-06-29 09:50:54 +02:00

Note account has a special treatment in potential future NK15 import (compatibility commit)

This commit is contained in:
Yohann D'ANELLO
2020-10-20 00:19:33 +02:00
parent 7e27c3b71b
commit 84be9d0062
2 changed files with 10 additions and 0 deletions

View File

@ -114,6 +114,10 @@ class Command(ImportCommand):
else:
passwd_nk15 = ''
# Note account should have no password
if int(row["idbde"]) == 3508:
passwd_nk15 = "ipbased$127.0.0.1"
if row["idbde"] not in MAP_IDBDE_PROMOTION:
# NK12 bug. Applying default values
MAP_IDBDE_PROMOTION[row["idbde"]] = {"promo": 2014,