From 5e6126ecbdfb164c772768c2e65cb0c4640d793b Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Fri, 15 Oct 2021 00:38:12 -0700 Subject: [PATCH] Fix system timezone string --- data/interfaces/default/configuration_table.html | 2 +- plexpy/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/interfaces/default/configuration_table.html b/data/interfaces/default/configuration_table.html index 3e06f723..676876d6 100644 --- a/data/interfaces/default/configuration_table.html +++ b/data/interfaces/default/configuration_table.html @@ -69,7 +69,7 @@ DOCUMENTATION :: END System Timezone: - ${plexpy.SYS_TIMEZONE.zone} (${'UTC{}'.format(plexpy.SYS_UTC_OFFSET)}) + ${str(plexpy.SYS_TIMEZONE)} (${'UTC{}'.format(plexpy.SYS_UTC_OFFSET)}) Python Version: diff --git a/plexpy/__init__.py b/plexpy/__init__.py index 4551fdfd..2bc1bd7c 100644 --- a/plexpy/__init__.py +++ b/plexpy/__init__.py @@ -236,7 +236,7 @@ def initialize(config_file): ' - {}'.format(common.PLATFORM_LINUX_DISTRO) if common.PLATFORM_LINUX_DISTRO else '' )) logger.info("{} (UTC{})".format( - SYS_TIMEZONE.zone, SYS_UTC_OFFSET + str(SYS_TIMEZONE), SYS_UTC_OFFSET )) logger.info("Python {}".format( sys.version.replace('\n', '')