Skip to content

Commit bf29134

Browse files
committed
fix import name
1 parent 3c4e105 commit bf29134

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tools/add_captions_from_file.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from zeeguu.core.model.video import Video
1010
from zeeguu.core.model.caption import Caption
1111
from zeeguu.api.app import create_app
12-
from zeeguu.core.youtube_api.youtube_api import get_captions_from_file
12+
from zeeguu.core.youtube_api.youtube_api import get_captions_from_json
1313

1414

1515
app = create_app()
@@ -22,7 +22,7 @@
2222

2323
# For each video with broken status 1, check if it has captions in captions.json
2424
for video in videos_with_broken_status_1:
25-
captions = get_captions_from_file(video.video_unique_key)
25+
captions = get_captions_from_json(video.video_unique_key)
2626
if captions:
2727
# Add captions from captions.json
2828
try:

0 commit comments

Comments
 (0)