From b21e23dd7be65816e26a52e220c8685b127bc430 Mon Sep 17 00:00:00 2001 From: Ace Date: Thu, 2 May 2019 20:00:36 +0200 Subject: [PATCH] bugfix --- Calendar/E-Paper.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Calendar/E-Paper.py b/Calendar/E-Paper.py index 7fa9b4b..3208804 100644 --- a/Calendar/E-Paper.py +++ b/Calendar/E-Paper.py @@ -343,10 +343,11 @@ def main(): else: agenda_list.append({'value':events.name, 'type':'full_day_event'}) - if rss_feeds != []: + if bottom_section is not "": del agenda_list[16:] image.paste(seperator2, agenda_view_lines['line17']) - else: + + if bottom_section is "": del agenda_list[22:] image.paste(seperator2, agenda_view_lines['line22'])