mirror of
https://github.com/beetbox/beets.git
synced 2025-12-24 01:25:47 +01:00
Simplified config access
This commit is contained in:
parent
33632e0caf
commit
865ea40eab
1 changed files with 1 additions and 1 deletions
|
|
@ -117,6 +117,6 @@ def handle_change(lib):
|
|||
|
||||
@SmartPlaylistPlugin.listen('cli_exit')
|
||||
def update(lib):
|
||||
auto = config['smartplaylist']['auto'].get(bool)
|
||||
auto = config['smartplaylist']['auto']
|
||||
if database_changed and auto:
|
||||
update_playlists(lib)
|
||||
|
|
|
|||
Loading…
Reference in a new issue