mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Log system timezone on startup
This commit is contained in:
parent
c64a115d29
commit
8fff796700
1 changed files with 5 additions and 0 deletions
|
@ -110,6 +110,8 @@ TRACKER = None
|
||||||
|
|
||||||
WIN_SYS_TRAY_ICON = None
|
WIN_SYS_TRAY_ICON = None
|
||||||
|
|
||||||
|
SYS_TIMEZONE = None
|
||||||
|
SYS_UTC_OFFSET = None
|
||||||
|
|
||||||
def initialize(config_file):
|
def initialize(config_file):
|
||||||
with INIT_LOCK:
|
with INIT_LOCK:
|
||||||
|
@ -157,6 +159,9 @@ def initialize(config_file):
|
||||||
common.PLATFORM, common.PLATFORM_RELEASE, common.PLATFORM_VERSION,
|
common.PLATFORM, common.PLATFORM_RELEASE, common.PLATFORM_VERSION,
|
||||||
' - {}'.format(common.PLATFORM_LINUX_DISTRO) if common.PLATFORM_LINUX_DISTRO else ''
|
' - {}'.format(common.PLATFORM_LINUX_DISTRO) if common.PLATFORM_LINUX_DISTRO else ''
|
||||||
))
|
))
|
||||||
|
logger.info(u"{} (UTC{})".format(
|
||||||
|
plexpy.SYS_TIMEZONE, plexpy.SYS_UTC_OFFSET
|
||||||
|
))
|
||||||
logger.info(u"Python {}".format(
|
logger.info(u"Python {}".format(
|
||||||
sys.version
|
sys.version
|
||||||
))
|
))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue