Реализован функционал по добавлению ou компьютеров
parent
eab18ded15
commit
6076e838ec
|
@ -137,6 +137,9 @@ if __name__ == "__main__":
|
||||||
date_file = manager.open_csv_file(PATH_CSV)
|
date_file = manager.open_csv_file(PATH_CSV)
|
||||||
if date_file is not None:
|
if date_file is not None:
|
||||||
ou_add_list = [ i[5] for i in date_file]
|
ou_add_list = [ i[5] for i in date_file]
|
||||||
|
ou_comp = [i[10] for i in date_file]
|
||||||
logging.info("run create ou")
|
logging.info("run create ou")
|
||||||
manager.creat_branch_ou(ou_add_list)# Создаст структуру OU
|
# manager.creat_branch_ou(ou_add_list)# Создаст структуру OU
|
||||||
|
manager.creat_branch_ou(ou_add_list)
|
||||||
|
manager.creat_branch_ou(ou_comp)
|
||||||
logging.info("> END <")
|
logging.info("> END <")
|
||||||
|
|
Loading…
Reference in New Issue