From e1286647838cc549c78c3f4c77629076e31efeeb Mon Sep 17 00:00:00 2001 From: Sabron Date: Wed, 13 Nov 2024 10:54:36 +0700 Subject: [PATCH] update : 13.11.2024 10:54:36,22 --- apps/schedulers/tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/schedulers/tasks.py b/apps/schedulers/tasks.py index 4199c5d..43bfd51 100644 --- a/apps/schedulers/tasks.py +++ b/apps/schedulers/tasks.py @@ -452,8 +452,8 @@ def load_sotekom(): cursor = mssql.executeSQL(conn,SQL_QUERY) records = cursor.fetchall() for data in records: - if position[1] == 315: - logging.message(f'data = {data}') + if position[1] == 315: + logging.message(f'data = {data}') element = Equipment.objects.filter(uid=data[0]).first() name="" if data[4] is None else data[4]