Skip to content

Commit 43f2b00

Browse files
committed
bump version 1.7.1
1 parent 4953679 commit 43f2b00

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

epson_printer/epsonprinter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,14 +267,14 @@ def print_images(self, *printable_images):
267267
def print_image_from_file(self, image_file, rotate=False):
268268
image = Image.open(image_file)
269269
if rotate:
270-
image.rotate(180)
270+
image = image.rotate(180)
271271
printable_image = PrintableImage.from_image(image)
272272
self.print_image(printable_image)
273273

274274
def print_image_from_buffer(self, data, rotate=False):
275275
image = Image.open(io.BytesIO(base64.b64decode(data)))
276276
if rotate:
277-
image.rotate(180)
277+
image = image.rotate(180)
278278
printable_image = PrintableImage.from_image(image)
279279
self.print_image(printable_image)
280280

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from setuptools import setup
33

44
setup(name="python_epson_printer",
5-
version="1.7",
5+
version="1.7.1",
66
description="A library to control Epson thermal printers based on ESC/POS language",
77
url="https://github.com/benoitguigal/python-epson-printer",
88
author="benoitguigal",

0 commit comments

Comments
 (0)