From 115d12a357af8d24c10fe99fe2c0f2b9066ec82b Mon Sep 17 00:00:00 2001 From: Sebastian S Date: Sun, 26 Apr 2020 09:58:21 +0200 Subject: [PATCH] use LOGINFO --- resources/lib/helper.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/lib/helper.py b/resources/lib/helper.py index 1798b93..21d39df 100644 --- a/resources/lib/helper.py +++ b/resources/lib/helper.py @@ -24,7 +24,7 @@ ADDON_DATA_IMG_PATH = os.path.join(xbmc.translatePath("special://profile/addon_data/%s/img" % ADDON_ID)) ADDON_DATA_IMG_TEMP_PATH = os.path.join(xbmc.translatePath("special://profile/addon_data/%s/img/tmp" % ADDON_ID)) -NOTICE = xbmc.LOGNOTICE +INFO = xbmc.LOGINFO WARNING = xbmc.LOGWARNING DEBUG = xbmc.LOGDEBUG ERROR = xbmc.LOGERROR @@ -39,9 +39,9 @@ def log(txt,loglevel=DEBUG,force=False): if (ADDON.getSettingBool('log') or force) and loglevel not in [WARNING, ERROR]: - loglevel = NOTICE + loglevel = INFO - message = u'[ %s ] %s' % (ADDON_ID,txt) + message = u'[ %s ] %s' % (ADDON_ID, txt) xbmc.log(msg=message, level=loglevel)