mirror of
https://github.com/beetbox/beets.git
synced 2025-12-12 19:42:23 +01:00
Merge pull request #3364 from kergoth/empty-album-error
library: show album id in empty album error
This commit is contained in:
commit
0077c0514b
1 changed files with 1 additions and 1 deletions
|
|
@ -1119,7 +1119,7 @@ class Album(LibModel):
|
|||
"""
|
||||
item = self.items().get()
|
||||
if not item:
|
||||
raise ValueError(u'empty album')
|
||||
raise ValueError(u'empty album for album id %d' % self.id)
|
||||
return os.path.dirname(item.path)
|
||||
|
||||
def _albumtotal(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue