diff --git a/apps/enm/tasks.py b/apps/enm/tasks.py index ca8576a6..ccf4800d 100644 --- a/apps/enm/tasks.py +++ b/apps/enm/tasks.py @@ -42,8 +42,6 @@ def get_current_and_previous_time(): def db_insert_mplogx_batch(rows): for row in rows: _, tag_val, tag_code, tag_update = row - if cache.get("tag_code", None) is None: - continue insert_mplogx_item(tag_code, tag_val, make_aware(tag_update), {}) @shared_task(base=CustomTask)