Skip to content

Commit

Permalink
force 'write: yes' for explicit 'beet embedart' subcommand
Browse files Browse the repository at this point in the history
  • Loading branch information
reynhout committed Apr 20, 2015
1 parent 0a12016 commit f6e0499
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions beetsplug/embedart.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ def commands(self):
ifempty = self.config['ifempty'].get(bool)

def embed_func(lib, opts, args):
config['import']['write'] = True
if opts.file:
imagepath = normpath(opts.file)
if not os.path.isfile(syspath(imagepath)):
Expand Down

0 comments on commit f6e0499

Please sign in to comment.