fix: db_insert_mplogx_batch bug
This commit is contained in:
parent
679165cbd0
commit
91e9ac38f6
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue