diff --git a/inkycal/modules/inkycal_agenda.py b/inkycal/modules/inkycal_agenda.py index f55a446..87fe6b8 100644 --- a/inkycal/modules/inkycal_agenda.py +++ b/inkycal/modules/inkycal_agenda.py @@ -59,7 +59,8 @@ class Agenda(inkycal_module): # Check if all required parameters are present for param in self.requires: if not param in config: - raise Exception('config is missing {}'.format(param)) + raise Exception(f'config is missing {param}') + logger.exception(f'config is missing "{param}"') # module specific parameters self.date_format = config['date_format'] diff --git a/inkycal/modules/inkycal_feeds.py b/inkycal/modules/inkycal_feeds.py index ce7e638..3a700bd 100644 --- a/inkycal/modules/inkycal_feeds.py +++ b/inkycal/modules/inkycal_feeds.py @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- """ -RSS module for InkyCal Project +Feeds module for InkyCal Project Copyright by aceisace """ import re diff --git a/inkycal/modules/inkycal_jokes.py b/inkycal/modules/inkycal_jokes.py index 7fb0abe..d653893 100644 --- a/inkycal/modules/inkycal_jokes.py +++ b/inkycal/modules/inkycal_jokes.py @@ -96,7 +96,7 @@ class Jokes(inkycal_module): write(im_black, line_positions[_], (line_width, line_height), wrapped[_], font = self.font, alignment= 'left') - # Save image of black and colour channel in image-folder + # Return images for black and colour channels return im_black, im_colour