helpful message when there's nothing to delete

This commit is contained in:
Adrian Sampson 2010-06-05 00:11:10 -07:00
parent d23565b040
commit a0f80f4c12

View file

@ -295,6 +295,10 @@ def remove_items(lib, query, album, delete=False):
else:
items = list(lib.items(query=query))
if not items:
print 'No matching items found.'
return
# Show all the items.
for item in items:
_print(item.artist + ' - ' + item.album + ' - ' + item.title)