fix: use endwith() instead of endWith()

This commit is contained in:
Jef LeCompte 2020-05-22 16:24:49 -04:00
parent 469541df2e
commit d9603788bc
No known key found for this signature in database
GPG key ID: 9FFEF859EB0452E5

View file

@ -61,7 +61,7 @@ def format_url():
"""
url = config['subsonic']['url'].as_str()
if url and url.endsWith('/'):
if url and url.endswith('/'):
url = url[:-1]
# @deprecated("Use url config option instead")