async and logging improvements, minor code cleanup

This commit is contained in:
Ace
2024-06-25 13:39:33 +02:00
parent fdd5591456
commit 427c55ef63
4 changed files with 31 additions and 20 deletions

View File

@@ -8,7 +8,7 @@ from inkycal.settings import Settings
# On the console, set a logger to show only important logs
# (level ERROR or higher)
stream_handler = logging.StreamHandler()
stream_handler.setLevel(logging.ERROR)
stream_handler.setLevel(logging.INFO)
settings = Settings()

View File

@@ -2,9 +2,7 @@
Inkycal Agenda Module
Copyright by aceinnolab
"""
import arrow
import arrow # noqa
from inkycal.custom import *
from inkycal.modules.ical_parser import iCalendar
from inkycal.modules.template import inkycal_module