mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Inline variable that is immediately returned
This commit is contained in:
parent
cbaa41d242
commit
52525d4725
1 changed files with 1 additions and 2 deletions
|
@ -452,5 +452,4 @@ class API(object):
|
||||||
returns the URL the server prefers to use
|
returns the URL the server prefers to use
|
||||||
'''
|
'''
|
||||||
response = self.send_request(server_address, "system/info/public")
|
response = self.send_request(server_address, "system/info/public")
|
||||||
url = response.url.replace('/system/info/public', '')
|
return response.url.replace('/system/info/public', '')
|
||||||
return url
|
|
||||||
|
|
Loading…
Reference in a new issue