Code cleanup
This commit is contained in:
		| @@ -1,6 +1,7 @@ | |||||||
| import abc | import abc | ||||||
| from inkycal.custom import * | from inkycal.custom import * | ||||||
|  |  | ||||||
|  |  | ||||||
| # Set the root logger to level DEBUG to allow any inkycal module to use the | # Set the root logger to level DEBUG to allow any inkycal module to use the | ||||||
| # logger for any level | # logger for any level | ||||||
| logging.basicConfig(level = logging.DEBUG) | logging.basicConfig(level = logging.DEBUG) | ||||||
| @@ -67,8 +68,8 @@ class inkycal_module(metaclass=abc.ABCMeta): | |||||||
|  |  | ||||||
|   @classmethod |   @classmethod | ||||||
|   def get_config(cls): |   def get_config(cls): | ||||||
|     # Get the config of this module for the web-ui |  | ||||||
|     # Do not change |     # Do not change | ||||||
|  |     # Get the config of this module for the web-ui | ||||||
|     try: |     try: | ||||||
|  |  | ||||||
|       if hasattr(cls, 'requires'): |       if hasattr(cls, 'requires'): | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user