From fb3956723cec3c1bca2788295798565965bd2e4b Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Sat, 12 May 2012 15:21:45 -0700 Subject: [PATCH] fix format string in info plugin --- beetsplug/info.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beetsplug/info.py b/beetsplug/info.py index 4c9a9bffc..bacc42e3e 100644 --- a/beetsplug/info.py +++ b/beetsplug/info.py @@ -1,5 +1,5 @@ # This file is part of beets. -# Copyright 2011, Adrian Sampson. +# Copyright 2012, Adrian Sampson. # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the @@ -31,7 +31,7 @@ def info(paths): # Line format. other_fields = ['album art'] maxwidth = max(len(name) for name in fields + other_fields) - lineformat = u'{{:>{0}}}: {{0}}'.format(maxwidth) + lineformat = u'{{0:>{0}}}: {{1}}'.format(maxwidth) first = True for path in paths: