From d9603788bcc6e991773c4fec07a57c42c157ad6b Mon Sep 17 00:00:00 2001 From: Jef LeCompte Date: Fri, 22 May 2020 16:24:49 -0400 Subject: [PATCH] fix: use `endwith()` instead of `endWith()` --- beetsplug/subsonicupdate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beetsplug/subsonicupdate.py b/beetsplug/subsonicupdate.py index 29b01986e..354eb701f 100644 --- a/beetsplug/subsonicupdate.py +++ b/beetsplug/subsonicupdate.py @@ -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")