fix video reindex exist check

This commit is contained in:
Simon
2023-12-22 12:31:55 +07:00
parent b84bf78974
commit 4d2fc5423e

View File

@@ -292,7 +292,7 @@ class Reindex(ReindexBase):
# read current state
video.get_from_es()
if not video.json_data():
if not video.json_data:
return
es_meta = video.json_data.copy()