Fix incorrect call to log.

This commit is contained in:
voussoir 2020-10-25 20:16:00 -07:00
parent 42417ed008
commit 08290d7c6d

View file

@ -302,7 +302,7 @@ class YCDLDBVideoMixin:
video = self.get_video(video_id) video = self.get_video(video_id)
if video.state != 'pending' and not force: if video.state != 'pending' and not force:
self.ycdldb.log.debug('%s does not need to be downloaded.', video_id) self.log.debug('%s does not need to be downloaded.', video_id)
return return
try: try: