Update inkycal_agenda.py

This commit is contained in:
emilyboda 2024-03-15 15:46:56 -04:00 committed by GitHub
parent 099dde31cb
commit 6f2d9028d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -152,7 +152,7 @@ class Agenda(inkycal_module):
time_width = int(max([self.font.getlength(
events['begin'].format(self.time_format, locale=self.language))
for events in upcoming_events]+[self.font.getlength("all day")]))
for events in upcoming_events]))
logger.debug(f'time_width: {time_width}')
# Calculate x-pos for time