mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-20 05:13:21 -07:00
Use system language for requests
This commit is contained in:
parent
d426c3e12e
commit
8cd5b0b775
1 changed files with 2 additions and 1 deletions
|
@ -61,7 +61,8 @@ class HTTPHandler(object):
|
||||||
'X-Plex-Device': '{} {}'.format(plexpy.common.PLATFORM,
|
'X-Plex-Device': '{} {}'.format(plexpy.common.PLATFORM,
|
||||||
plexpy.common.PLATFORM_RELEASE),
|
plexpy.common.PLATFORM_RELEASE),
|
||||||
'X-Plex-Device-Name': '{} ({})'.format(plexpy.common.PLATFORM_DEVICE_NAME,
|
'X-Plex-Device-Name': '{} ({})'.format(plexpy.common.PLATFORM_DEVICE_NAME,
|
||||||
plexpy.common.PRODUCT)
|
plexpy.common.PRODUCT),
|
||||||
|
'Accept-Language': plexpy.SYS_LANGUAGE
|
||||||
}
|
}
|
||||||
|
|
||||||
self.token = token
|
self.token = token
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue