formalities..
This commit is contained in:
parent
19baf57c6c
commit
ebe60b303b
@ -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']
|
||||
|
@ -2,7 +2,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
"""
|
||||
RSS module for InkyCal Project
|
||||
Feeds module for InkyCal Project
|
||||
Copyright by aceisace
|
||||
"""
|
||||
import re
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user