mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-23 00:12:45 +00:00
Merge pull request #366 from oddstr13/pr-json-filter-1
Filter keys containing None values from dictionaries returned from the server
This commit is contained in:
commit
4e2c8a0af3
20 changed files with 214 additions and 26 deletions
|
@ -435,7 +435,7 @@ class API(object):
|
|||
if response.status_code == 200:
|
||||
return response.json()
|
||||
else:
|
||||
return { 'Status_Code': response.status_code }
|
||||
return {'Status_Code': response.status_code}
|
||||
|
||||
def get_public_info(self, server_address):
|
||||
response = self.send_request(server_address, "system/info/public")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue