From e5e3eda676bac547bc98b73e59866a4ecc60aafc Mon Sep 17 00:00:00 2001 From: Peter Schnebel Date: Wed, 6 Feb 2013 09:37:07 +0100 Subject: [PATCH] Fixed error message for invalid config option. --- beets/util/confit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beets/util/confit.py b/beets/util/confit.py index e552ba9fd..7af3bf733 100644 --- a/beets/util/confit.py +++ b/beets/util/confit.py @@ -357,7 +357,7 @@ class ConfigView(object): if value not in choices: raise ConfigValueError( '{0} must be one of {1}, not {2}'.format( - self.name, repr(value), repr(list(choices)) + self.name, repr(list(choices)), repr(value) ) )