diff --git a/ycdl/ycdldb.py b/ycdl/ycdldb.py index 02f4291..e6f2551 100644 --- a/ycdl/ycdldb.py +++ b/ycdl/ycdldb.py @@ -302,7 +302,7 @@ class YCDLDBVideoMixin: video = self.get_video(video_id) 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 try: