Fix system timezone string

This commit is contained in:
JonnyWong16 2021-10-15 00:38:12 -07:00
commit 5e6126ecbd
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
2 changed files with 2 additions and 2 deletions

View file

@ -69,7 +69,7 @@ DOCUMENTATION :: END
</tr>
<tr>
<td>System Timezone:</td>
<td>${plexpy.SYS_TIMEZONE.zone} (${'UTC{}'.format(plexpy.SYS_UTC_OFFSET)})
<td>${str(plexpy.SYS_TIMEZONE)} (${'UTC{}'.format(plexpy.SYS_UTC_OFFSET)})
</tr>
<tr>
<td>Python Version:</td>

View file

@ -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', '')