mirror of
https://github.com/beetbox/beets.git
synced 2025-12-22 00:23:33 +01:00
fix: use endwith() instead of endWith()
This commit is contained in:
parent
469541df2e
commit
d9603788bc
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue