fix linter

This commit is contained in:
simon
2023-05-20 19:37:41 +07:00
parent 868247e6d4
commit 904d0de6aa

View File

@@ -50,7 +50,7 @@ class Scanner:
data = {"query": {"match_all": {}}, "_source": ["youtube_id"]} data = {"query": {"match_all": {}}, "_source": ["youtube_id"]}
response = IndexPaginate("ta_video", data).get_results() response = IndexPaginate("ta_video", data).get_results()
return set(i["youtube_id"] for i in response) return {i["youtube_id"] for i in response}
def apply(self): def apply(self):
"""apply all changes""" """apply all changes"""