Add if Docker container to platform

This commit is contained in:
JonnyWong16 2019-07-08 22:30:58 -07:00
parent df50559495
commit 96c0f9cad5
2 changed files with 3 additions and 3 deletions

View file

@ -158,8 +158,8 @@ def initialize(config_file):
logger.info(u"Starting Tautulli {}".format(
common.RELEASE
))
logger.info(u"{} {} ({}{})".format(
common.PLATFORM, common.PLATFORM_RELEASE, common.PLATFORM_VERSION,
logger.info(u"{}{} {} ({}{})".format(
'[Docker] ' if DOCKER else '', common.PLATFORM, common.PLATFORM_RELEASE, common.PLATFORM_VERSION,
' - {}'.format(common.PLATFORM_LINUX_DISTRO) if common.PLATFORM_LINUX_DISTRO else ''
))
logger.info(u"{} (UTC{})".format(