From a8d5b15ecd6e77e1d10335ae6e27b4478a0b19de Mon Sep 17 00:00:00 2001 From: Ace Date: Thu, 5 Dec 2019 23:07:06 +0100 Subject: [PATCH] Update inkycal_rss.py --- Inky-Calendar/modules/inkycal_rss.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Inky-Calendar/modules/inkycal_rss.py b/Inky-Calendar/modules/inkycal_rss.py index 2397a3b..d9a71bc 100644 --- a/Inky-Calendar/modules/inkycal_rss.py +++ b/Inky-Calendar/modules/inkycal_rss.py @@ -36,6 +36,7 @@ line_positions = [(border_left, bottom_section_offset + def main(): if bottom_section == "RSS" and rss_feeds != [] and internet_available() == True: try: + clear_image('bottom_section') print('RSS module: Connectivity check passed. Generating image...', end = '') @@ -69,8 +70,7 @@ def main(): del filtered_feeds, parsed_feeds - rss_image = image.crop((0,bottom_section_offset, display_width, - display_height)) + rss_image = crop_image(image, 'bottom_section') rss_image.save(image_path+'rss.png') print('Done')