Make none_rec_action respect timid. #3242

This commit is contained in:
unknown 2019-09-02 20:15:35 -04:00
parent 29fe07282b
commit 7754dd27c5
2 changed files with 7 additions and 0 deletions

View file

@ -481,6 +481,7 @@ def _summary_judgment(rec):
queried. May also print to the console if a summary judgment is
made.
"""
print(rec)
if config['import']['quiet']:
if rec == Recommendation.strong:
return importer.action.APPLY
@ -496,6 +497,9 @@ def _summary_judgment(rec):
'asis': importer.action.ASIS,
'ask': None,
})
# prompt the user if timid is enabled
if config['import']['timid'] and action == importer.action.ASIS:
return None
else:
return None

View file

@ -97,6 +97,9 @@ Fixes:
* Fixed a bug that caused the UI to display incorrect track numbers for tracks
with index 0 when the ``per_disc_numbering`` option was set.
:bug:`3346`
* ``none_rec_action`` does not import automatically when ``timid`` is enabled.
Thanks to :user:`RollingStar`.
:bug:`3242`
For plugin developers: