Skip to content

Commit 3f7d22f

Browse files
refactor: Keep one reference to the configured timezone
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
1 parent 3957df4 commit 3f7d22f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎plexapi/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
PROJECT = 'PlexAPI'
1818
VERSION = __version__ = const.__version__
1919
TIMEOUT = CONFIG.get('plexapi.timeout', 30, int)
20-
DATETIME_TIMEZONE = setDatetimeTimezone(CONFIG.get('plexapi.timezone', False))
20+
setDatetimeTimezone(CONFIG.get('plexapi.timezone', False))
2121

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

0 commit comments

Comments
 (0)