Undo change to loghandler

This commit is contained in:
Odd Stråbø 2021-10-10 17:35:51 +02:00 committed by GitHub
parent 1462e07fa5
commit b24eba5b70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,9 +51,10 @@ class LogHandler(logging.StreamHandler):
self.mask_info = settings('maskInfo.bool') self.mask_info = settings('maskInfo.bool')
self.level = xbmc.LOGNOTICE
if kodi_version() > 18: if kodi_version() > 18:
self.level = xbmc.LOGINFO self.level = xbmc.LOGINFO
else:
self.level = xbmc.LOGNOTICE
def emit(self, record): def emit(self, record):