diff --git a/src/window.py b/src/window.py index 3b7af66..db2f935 100644 --- a/src/window.py +++ b/src/window.py @@ -769,7 +769,7 @@ Generate a title following these rules: dialog_widget.simple_dropdown( _('Attach YouTube Video?'), _('{}\n\nPlease select a transcript to include').format(yt.streams[0].title), - lambda caption_name, yt=yt, video_url=text: generic_actions.attach_youtube(yt.streams[0].title, yt.author, yt.watch_url, video_url, yt.video_id, caption_name), + lambda caption_name, yt=yt, video_url=text: generic_actions.attach_youtube(yt.title, yt.author, yt.watch_url, video_url, yt.video_id, caption_name), transcriptions ) except Exception as e: