mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-23 00:12:45 +00:00
Get the logger from a central place
This commit is contained in:
parent
7e141724c1
commit
795dfd38df
55 changed files with 157 additions and 167 deletions
|
@ -3,17 +3,17 @@ from __future__ import division, absolute_import, print_function, unicode_litera
|
|||
|
||||
#################################################################################################
|
||||
|
||||
import logging
|
||||
import os
|
||||
|
||||
from kodi_six import xbmc, xbmcaddon, xbmcvfs
|
||||
|
||||
from helper import translate, window, settings, addon_id, dialog
|
||||
from helper.utils import create_id
|
||||
from helper import LazyLogger # noqa: F402
|
||||
|
||||
##################################################################################################
|
||||
|
||||
LOG = logging.getLogger("JELLYFIN." + __name__)
|
||||
LOG = LazyLogger(__name__)
|
||||
|
||||
##################################################################################################
|
||||
|
||||
|
@ -104,7 +104,7 @@ def get_device_id(reset=False):
|
|||
file_guid.close()
|
||||
LOG.debug("DeviceId loaded: %s", client_id)
|
||||
window('jellyfin_deviceId', value=client_id)
|
||||
|
||||
|
||||
return client_id
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue