From 3b3502229cf38d202f7ddd40ebde8f07ee51c27d Mon Sep 17 00:00:00 2001 From: Mikhail Grebenkin Date: Mon, 19 Nov 2018 21:27:19 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BC=D0=B5=D0=BB=D0=BA=D0=B8=D0=B5=20=D0=B8?= =?UTF-8?q?=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F,=20=D1=82?= =?UTF-8?q?=D0=B5=D1=81=D1=82=D0=B8=D1=80=D1=83=D1=8E.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- importer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/importer.py b/importer.py index 4a0831f..9ca1f7d 100644 --- a/importer.py +++ b/importer.py @@ -56,6 +56,8 @@ def main(): if ad_user.exists: ad_user.remove() continue + if not ad_user.exists: + ad_user.add() if z_users[z_user]['pwChange']: # обновляем пароль ad_user.set_passwd()