From 9627b0abb91b21ad39f165be88c2a8a6d5802278 Mon Sep 17 00:00:00 2001 From: Iaroshuk Dmitrii Date: Fri, 31 Jul 2026 11:40:38 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B1=D1=80=D0=B0=D0=BB=20=D1=82=D0=B0?= =?UTF-8?q?=D0=B9=D0=BC=D1=88=D1=82=D0=B0=D0=BC=D0=BF=20=D0=B8=D0=B7=20?= =?UTF-8?q?=D1=81=D0=BA=D1=80=D0=B8=D0=BF=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Скрипты/export_plc_src.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Скрипты/export_plc_src.py b/Скрипты/export_plc_src.py index 6221104..d6bb5e8 100644 --- a/Скрипты/export_plc_src.py +++ b/Скрипты/export_plc_src.py @@ -32,13 +32,8 @@ from __future__ import print_function import os import codecs import re -import datetime - PRAGMA_RE = re.compile(r"^\s*\{[^}]*\}\s*") -# Единая метка времени на весь запуск экспорта (одинаковая во всех файлах). -EXPORT_TIMESTAMP = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S") - # Имена служебных узлов дерева, которые не нужно показывать в поле Path # (сравнение без учёта регистра). Сами узлы всё равно обходятся -- пропускаются # только их имена при формировании пути. @@ -197,7 +192,6 @@ def build_header(project_name, device_name, path_parts, obj_name, type_label): Path : Application/Logic/Motion Name : FB_Axis Type : FUNCTION_BLOCK - Exported : 2026-07-30 14:32:18 =============================================================================== *) """ @@ -211,7 +205,6 @@ def build_header(project_name, device_name, path_parts, obj_name, type_label): " Path : %s" % rel_path, " Name : %s" % obj_name, " Type : %s" % type_label, - " Exported : %s" % EXPORT_TIMESTAMP, sep, "*)", "",