mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-20 13:23:24 -07:00
Update server version before checking for server updates
This commit is contained in:
parent
2fec2c9e4c
commit
495659e9cd
2 changed files with 10 additions and 0 deletions
|
@ -2190,3 +2190,10 @@ class PmsConnect(object):
|
|||
}
|
||||
|
||||
return updater_info
|
||||
|
||||
def set_server_version(self):
|
||||
identity = self.get_server_identity()
|
||||
version = identity.get('version', plexpy.CONFIG.PMS_VERSION)
|
||||
|
||||
plexpy.CONFIG.__setattr__('PMS_VERSION', version)
|
||||
plexpy.CONFIG.write()
|
Loading…
Add table
Add a link
Reference in a new issue