From b471a18afd0c46aca76d16c465fd2981e7fec974 Mon Sep 17 00:00:00 2001 From: Ace Date: Thu, 12 Nov 2020 21:20:12 +0100 Subject: [PATCH] Code cleanup --- inkycal/modules/template.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/inkycal/modules/template.py b/inkycal/modules/template.py index e08ee27..f46be8d 100644 --- a/inkycal/modules/template.py +++ b/inkycal/modules/template.py @@ -1,6 +1,7 @@ import abc from inkycal.custom import * + # Set the root logger to level DEBUG to allow any inkycal module to use the # logger for any level logging.basicConfig(level = logging.DEBUG) @@ -67,8 +68,8 @@ class inkycal_module(metaclass=abc.ABCMeta): @classmethod def get_config(cls): - # Get the config of this module for the web-ui # Do not change + # Get the config of this module for the web-ui try: if hasattr(cls, 'requires'): @@ -93,4 +94,4 @@ class inkycal_module(metaclass=abc.ABCMeta): 'Ohoh, something went wrong while trying to get the config of this module') - +