From 200a13b64b5960deda39adc4696e12eeb6fac357 Mon Sep 17 00:00:00 2001 From: Christopher Usher Date: Mon, 28 Oct 2024 17:56:33 -0700 Subject: [PATCH] Fixed error in thumbnail generation logging --- cutter/cutter/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cutter/cutter/main.py b/cutter/cutter/main.py index 030f589..66e38e9 100644 --- a/cutter/cutter/main.py +++ b/cutter/cutter/main.py @@ -458,7 +458,7 @@ class Cutter(object): image_data = frame elif job.thumbnail_mode == 'TEMPLATE': template, crop, location = get_template(self.dbmanager, job.thumbnail_template, job.thumbnail_crop, job.thumbnail_location) - self.logging.info('Generating thumbnail from the video frame at {} using {} as template'.format(job.thumbnail_time, job.thumbnail_template)) + self.logger.info('Generating thumbnail from the video frame at {} using {} as template'.format(job.thumbnail_time, job.thumbnail_template)) image_data = compose_thumbnail_template(template, frame, crop, location) else: # shouldn't be able to happen given database constraints @@ -772,7 +772,7 @@ class VideoUpdater(object): thumbnail_image = frame elif job.thumbnail_mode == 'TEMPLATE': template, crop, location = get_template(self.dbmanager, job.thumbnail_template, job.thumbnail_crop, job.thumbnail_location) - self.logging.info('Generating thumbnail from the video frame at {} using {} as template'.format(job.thumbnail_time, job.thumbnail_template)) + self.logger.info('Generating thumbnail from the video frame at {} using {} as template'.format(job.thumbnail_time, job.thumbnail_template)) thumbnail_image = compose_thumbnail_template(template, frame, crop, location) else: assert False, "Bad thumbnail mode: {}".format(job.thumbnail_mode)