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

View File

@@ -152,7 +152,7 @@ class Agenda(inkycal_module):
time_width = int(max([self.font.getlength( time_width = int(max([self.font.getlength(
events['begin'].format(self.time_format, locale=self.language)) 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}') logger.debug(f'time_width: {time_width}')
# Calculate x-pos for time # Calculate x-pos for time