From 3cdd0bda62ca59146a85694b8065ace53d4fc372 Mon Sep 17 00:00:00 2001 From: Ace Date: Mon, 16 Dec 2019 02:48:23 +0100 Subject: [PATCH] Code cleanup --- modules/inkycal.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/inkycal.py b/modules/inkycal.py index 52956cc..0d99d2f 100644 --- a/modules/inkycal.py +++ b/modules/inkycal.py @@ -89,11 +89,10 @@ while True: except: pass - image.save(image_path + 'canvas.png') - display.reduce_colours(image) + image.save(image_path + 'canvas.png') """---------Refreshing E-Paper with newly created image-----------""" - display.show_image(image) + display.show_image(image, reduce_colours=False) """--------------Post processing after main loop-----------------""" """Collect some garbage to free up some resources"""