Skip to content

Commit 080094f

Browse files
eliasbenbCopilot
andauthored
fix: Stale DATETIME_TIMZONE ref
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 4ee2116 commit 080094f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

plexapi/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
PROJECT = 'PlexAPI'
1818
VERSION = __version__ = const.__version__
1919
TIMEOUT = CONFIG.get('plexapi.timeout', 30, int)
20-
DATETIME_TIMEZONE = GLOBAL_DATETIME_TIMEZONE
21-
setDatetimeTimezone(CONFIG.get('plexapi.timezone', False)) # Sets the DATETIME_TIMEZONE global variable
20+
DATETIME_TIMEZONE = setDatetimeTimezone(CONFIG.get('plexapi.timezone', False)) # Sets and returns the DATETIME_TIMEZONE global variable
2221

2322
X_PLEX_CONTAINER_SIZE = CONFIG.get('plexapi.container_size', 100, int)
2423
X_PLEX_ENABLE_FAST_CONNECT = CONFIG.get('plexapi.enable_fast_connect', False, bool)

0 commit comments

Comments
 (0)