Inline variable that is immediately returned

This commit is contained in:
Brian Pepple 2020-09-27 11:35:45 -04:00 committed by Odd Stråbø
parent cbaa41d242
commit 52525d4725
1 changed files with 1 additions and 2 deletions

View File

@ -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