Improved web-ui labels, improved logging, improved support for testing

Switched from NotoSans-SemiCondensed to NotoSansUI-Regular
This commit is contained in:
Ace
2020-11-21 16:22:15 +01:00
parent 077392c2f9
commit afe84dc8e6
10 changed files with 18 additions and 29 deletions

View File

@@ -11,10 +11,11 @@ from inkycal.modules.template import inkycal_module
from inkycal.custom import *
import requests
# Show less logging for request module
logging.getLogger("urllib3").setLevel(logging.WARNING)
filename = os.path.basename(__file__).split('.py')[0]
logger = logging.getLogger(filename)
logger.setLevel(level=logging.ERROR)
class Jokes(inkycal_module):
"""Icanhazdad-api class