Skip to content

Commit

Permalink
Fix for issue #34 - batch tagging support
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseward committed Jul 30, 2017
1 parent 69e9e68 commit c683212
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## Changelog

Version 3.0.1

* Fix batch tagging support (https://github.com/jesseward/discogstagger/issues/34).

Version 3.0.0

* support for Python 3
Expand Down
3 changes: 2 additions & 1 deletion discogstagger/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,13 +233,14 @@ def init_logging(conf):
def tagger(conf, destination, releaseid, source):

_log = init_logging(conf)

if not destination:
destination = source

cfg = TaggerConfig(source, destination, conf)

if cfg.id_tag in cfg.release_tags:
release_id = cfg.release_tags[cfg.id_tag].strip()
releaseid = cfg.release_tags[cfg.id_tag].strip()

if releaseid:
release_id = releaseid
Expand Down

0 comments on commit c683212

Please sign in to comment.