From 87407d39c1e8994d3b6fea44f63206935a140c5c Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Mon, 25 Oct 2021 14:10:11 -0700 Subject: [PATCH] Return the queuefile from download_video. --- ycdl/ycdldb.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ycdl/ycdldb.py b/ycdl/ycdldb.py index d13c080..4f4fa65 100644 --- a/ycdl/ycdldb.py +++ b/ycdl/ycdldb.py @@ -208,6 +208,7 @@ class YCDLDBVideoMixin: self.on_commit_queue.append({'action': create_queuefile}) video.mark_state('downloaded') + return queuefile def get_video(self, video_id): return self.get_object_by_id(objects.Video, video_id)