fix video reindex exist check
This commit is contained in:
parent
b84bf78974
commit
4d2fc5423e
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue