mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16: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
|
||||
'''
|
||||
response = self.send_request(server_address, "system/info/public")
|
||||
url = response.url.replace('/system/info/public', '')
|
||||
return url
|
||||
return response.url.replace('/system/info/public', '')
|
||||
|
|
Loading…
Reference in a new issue