mirror of
https://github.com/beetbox/beets.git
synced 2026-01-03 06:22:48 +01:00
Use "==" when comparing strings
This commit is contained in:
parent
768770d561
commit
2bc04bb605
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ class SubsonicUpdate(BeetsPlugin):
|
|||
'v': '1.15.0', # Subsonic 6.1 and newer.
|
||||
'c': 'beets'
|
||||
}
|
||||
if contextpath is '/':
|
||||
if contextpath == '/':
|
||||
contextpath = ''
|
||||
url = "http://{}:{}{}/rest/startScan".format(host, port, contextpath)
|
||||
response = requests.post(url, params=payload)
|
||||
|
|
|
|||
Loading…
Reference in a new issue