BrotherQLRaster: log raster_image_size as debug, not info

This commit is contained in:
Philipp Klaus
2018-09-14 14:59:46 +02:00
parent 801b36b894
commit f183afbe9d
+1 -1
View File
@@ -186,7 +186,7 @@ class BrotherQLRaster(object):
def add_raster_data(self, image, second_image=None):
""" image: Pillow Image() """
logger.info("raster_image_size: {0}x{1}".format(*image.size))
logger.debug("raster_image_size: {0}x{1}".format(*image.size))
if image.size[0] != self.get_pixel_width():
fmt = 'Wrong pixel width: {}, expected {}'
raise BrotherQLRasterError(fmt.format(image.size[0], self.get_pixel_width()))