IGN:Misc bug fixes

This commit is contained in:
Kovid Goyal 2009-05-31 08:38:20 -07:00
parent f2fae35eb2
commit f91c1e0cc4
2 changed files with 3 additions and 1 deletions

View File

@ -1335,6 +1335,8 @@ class LibraryDatabase2(LibraryDatabase):
data.append(x)
x['id'] = record[FIELD_MAP['id']]
x['formats'] = []
if not x['authors']:
x['authors'] = _('Unknown')
x['authors'] = [i.replace('|', ',') for i in x['authors'].split(',')]
if authors_as_string:
x['authors'] = authors_to_string(x['authors'])

View File

@ -44,7 +44,7 @@ recipe_modules = ['recipe_' + r for r in (
'stackoverflow', 'telepolis_artikel', 'zaobao', 'usnews',
'straitstimes', 'index_hu', 'pcworld_hu', 'hrt', 'rts',
'h1', 'h2', 'h3', 'phd_comics', 'woz_die', 'elektrolese',
'climate_progress', 'carta',
'climate_progress', 'carta', 'slashdot',
)]
import re, imp, inspect, time, os