mirror of
https://github.com/beetbox/beets.git
synced 2026-01-27 18:43:50 +01:00
undefined variable reported by pylint
This commit is contained in:
parent
6e90009b07
commit
f8c317a2cd
3 changed files with 1 additions and 1 deletions
|
|
@ -517,7 +517,7 @@ class BaseLibrary(object):
|
|||
return AndQuery.from_string(val, default_fields)
|
||||
elif isinstance(val, Query):
|
||||
return val
|
||||
elif not isinstance(query, Query):
|
||||
elif not isinstance(val, Query):
|
||||
raise ValueError('query must be None or have type Query or str')
|
||||
|
||||
|
||||
|
|
|
|||
0
beetsplug/bpd/__init__.py
Executable file → Normal file
0
beetsplug/bpd/__init__.py
Executable file → Normal file
0
beetsplug/bpd/gstplayer.py
Executable file → Normal file
0
beetsplug/bpd/gstplayer.py
Executable file → Normal file
Loading…
Reference in a new issue