mirror of
https://github.com/tubearchivist/tubearchivist
synced 2024-11-02 09:41:07 +00:00
fix linter
This commit is contained in:
parent
2818bd5d52
commit
31c967cc11
@ -112,11 +112,7 @@ class Comments:
|
||||
_, _ = ElasticWrap(self.es_path).put(self.json_data)
|
||||
|
||||
vid_path = f"ta_video/_update/{self.youtube_id}"
|
||||
data = {
|
||||
"doc": {
|
||||
"comment_count": len(self.comments_format)
|
||||
}
|
||||
}
|
||||
data = {"doc": {"comment_count": len(self.comments_format)}}
|
||||
_, _ = ElasticWrap(vid_path).post(data=data)
|
||||
|
||||
def delete_comments(self):
|
||||
|
Loading…
Reference in New Issue
Block a user