6591: converted bytes of media in a string to show in quickview

svn: r21871
This commit is contained in:
Benny Malengier 2013-04-04 09:53:54 +00:00
parent 7b7836267a
commit 4bf42dc5ca

View File

@ -342,7 +342,7 @@ def run(database, document, filter_name, *args, **kwargs):
for person in database.iter_people(): for person in database.iter_people():
length = len(person.get_media_list()) length = len(person.get_media_list())
if length > 0: if length > 0:
stab.row(person, length) stab.row(person, str(length))
matches += 1 matches += 1
elif (filter_name == 'media references'): elif (filter_name == 'media references'):