Log system timezone on startup

This commit is contained in:
samwiseg00 2018-10-23 21:55:03 -07:00
parent c64a115d29
commit 8fff796700

View file

@ -110,6 +110,8 @@ TRACKER = None
WIN_SYS_TRAY_ICON = None
SYS_TIMEZONE = None
SYS_UTC_OFFSET = None
def initialize(config_file):
with INIT_LOCK:
@ -157,6 +159,9 @@ def initialize(config_file):
common.PLATFORM, common.PLATFORM_RELEASE, common.PLATFORM_VERSION,
' - {}'.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(
sys.version
))