do not fail on wrong dates
This commit is contained in:
parent
af4bb14004
commit
8b15521dcc
|
@ -7,7 +7,10 @@ import tabellio.config.utils
|
|||
class BasePublication(object):
|
||||
@property
|
||||
def date_str(self):
|
||||
return self.date.strftime('%d/%m/%Y')
|
||||
try:
|
||||
return self.date.strftime('%d/%m/%Y')
|
||||
except AttributeError:
|
||||
return ''
|
||||
|
||||
def get_authors_as_string(self):
|
||||
if not self.authors:
|
||||
|
|
Reference in New Issue