Fix break of missing entry property.

This commit is contained in:
Thomas Gideon 2015-03-29 19:02:02 -04:00
parent 45890416c9
commit 25026a4e29

View file

@ -156,7 +156,7 @@ def __append_itunes(config, entry, output, suffix, base_url):
'size' : size, 'size' : size,
'subtitle' : ''.join(soup.contents[0].findAll(text = True)), 'subtitle' : ''.join(soup.contents[0].findAll(text = True)),
'summary' : summary, 'summary' : summary,
'duration' : entry.itunes_duration, 'duration' : '0:00',
'title_suffix': config['title_suffix'], 'title_suffix': config['title_suffix'],
'author': config['author'] }) 'author': config['author'] })
logging.info('Inserted new %s item.' % suffix) logging.info('Inserted new %s item.' % suffix)