mirror of
https://github.com/beetbox/beets.git
synced 2026-01-30 03:54:21 +01:00
fix format string in info plugin
This commit is contained in:
parent
849d50beb9
commit
fb3956723c
1 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue