Skip to content

Commit f26db5d

Browse files
andrey-yantsenHellowlol
authored andcommitted
fix typo in header.platorm config param (#291)
1 parent b6c061a commit f26db5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plexapi/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
# Plex Header Configuation
2222
X_PLEX_PROVIDES = CONFIG.get('header.provides', 'controller')
23-
X_PLEX_PLATFORM = CONFIG.get('header.platorm', uname()[0])
23+
X_PLEX_PLATFORM = CONFIG.get('header.platform', CONFIG.get('header.platorm', uname()[0]))
2424
X_PLEX_PLATFORM_VERSION = CONFIG.get('header.platform_version', uname()[2])
2525
X_PLEX_PRODUCT = CONFIG.get('header.product', PROJECT)
2626
X_PLEX_VERSION = CONFIG.get('header.version', VERSION)

0 commit comments

Comments
 (0)