From a7e3bf2d0b8cb4c2874a14471e2b8daaeb317970 Mon Sep 17 00:00:00 2001 From: Corinne Hoener Date: Tue, 27 Sep 2016 06:21:51 -0400 Subject: [PATCH] third time's a charm --- beetsplug/lastgenre/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beetsplug/lastgenre/__init__.py b/beetsplug/lastgenre/__init__.py index 728e6069c..13f7a300d 100644 --- a/beetsplug/lastgenre/__init__.py +++ b/beetsplug/lastgenre/__init__.py @@ -200,8 +200,8 @@ class LastGenrePlugin(plugins.BeetsPlugin): tags_all += parents # Stop if we have enough tags already, unless we need to find # the most specific tag (instead of the most popular). - if (not self.config['prefer_specific'] - and len(tags_all) >= count): + if (not self.config['prefer_specific'] and + len(tags_all) >= count): break tags = tags_all