From 4610bf37692d5c1629f9d3d90999f3db5d224b46 Mon Sep 17 00:00:00 2001 From: komuw Date: Sat, 10 May 2025 21:18:02 +0300 Subject: [PATCH] Prefix environment variables with `TAUTULLI_` For: https://github.com/Tautulli/Tautulli/issues/2309 --- plexpy/config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plexpy/config.py b/plexpy/config.py index 1e45a234..04997c16 100644 --- a/plexpy/config.py +++ b/plexpy/config.py @@ -501,7 +501,8 @@ class Config(object): def _from_env(self, key, definition_type): """ Get key from environment variables, if it exists """ - val = os.environ.get(key) + env_key = "TAUTULLI_" + key + val = os.environ.get(env_key) try: if val: return definition_type(val)