Fix 6902 - If Title is None set to Unknown

This commit is contained in:
Timothy Legge 2010-09-22 21:45:44 -03:00
parent 2bd3bda0fe
commit 48cb1d3138

View File

@ -41,6 +41,10 @@ class Book(MetaInformation):
self.authors = ['']
else:
self.authors = [authors]
if not title:
self.title = 'Unknown'
self.mime = mime
self.size = size # will be set later if None