GwR fix for TOC discontinuity, default cover swapping

This commit is contained in:
GRiker 2011-01-17 15:52:25 -07:00
parent e1fd50d72f
commit af04ca87ce

View File

@ -4314,10 +4314,9 @@ then rebuild the catalog.\n''').format(author[0],author[1],current_author[1])
# Date of publication
pubdate = book['date']
if pubdate:
pubmonth, pubyear = pubdate.split(' ')
else:
pubmonth = pubyear = ''
pubmonth, pubyear = pubdate.split()
if pubyear == '101':
pubdate = pubmonth = pubyear = ''
# Thumb
_soup = BeautifulSoup('<html>',selfClosingTags=['img'])