Clear bottom section image if full length agenda
This commit is contained in:
parent
ce4c4f98e0
commit
ba27da8a2f
@ -48,6 +48,8 @@ line_pos = [(border_left, int(top_section_height + border_top + line * line_heig
|
|||||||
def main():
|
def main():
|
||||||
try:
|
try:
|
||||||
clear_image('middle_section')
|
clear_image('middle_section')
|
||||||
|
if not bottom_section:
|
||||||
|
clear_image('bottom_section')
|
||||||
|
|
||||||
print('Agenda module: Generating image...', end = '')
|
print('Agenda module: Generating image...', end = '')
|
||||||
now = arrow.now(get_tz())
|
now = arrow.now(get_tz())
|
||||||
|
Loading…
Reference in New Issue
Block a user