mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
IGN:Misc bug fixes
This commit is contained in:
parent
f2fae35eb2
commit
f91c1e0cc4
@ -1335,6 +1335,8 @@ class LibraryDatabase2(LibraryDatabase):
|
|||||||
data.append(x)
|
data.append(x)
|
||||||
x['id'] = record[FIELD_MAP['id']]
|
x['id'] = record[FIELD_MAP['id']]
|
||||||
x['formats'] = []
|
x['formats'] = []
|
||||||
|
if not x['authors']:
|
||||||
|
x['authors'] = _('Unknown')
|
||||||
x['authors'] = [i.replace('|', ',') for i in x['authors'].split(',')]
|
x['authors'] = [i.replace('|', ',') for i in x['authors'].split(',')]
|
||||||
if authors_as_string:
|
if authors_as_string:
|
||||||
x['authors'] = authors_to_string(x['authors'])
|
x['authors'] = authors_to_string(x['authors'])
|
||||||
|
@ -44,7 +44,7 @@ recipe_modules = ['recipe_' + r for r in (
|
|||||||
'stackoverflow', 'telepolis_artikel', 'zaobao', 'usnews',
|
'stackoverflow', 'telepolis_artikel', 'zaobao', 'usnews',
|
||||||
'straitstimes', 'index_hu', 'pcworld_hu', 'hrt', 'rts',
|
'straitstimes', 'index_hu', 'pcworld_hu', 'hrt', 'rts',
|
||||||
'h1', 'h2', 'h3', 'phd_comics', 'woz_die', 'elektrolese',
|
'h1', 'h2', 'h3', 'phd_comics', 'woz_die', 'elektrolese',
|
||||||
'climate_progress', 'carta',
|
'climate_progress', 'carta', 'slashdot',
|
||||||
)]
|
)]
|
||||||
|
|
||||||
import re, imp, inspect, time, os
|
import re, imp, inspect, time, os
|
||||||
|
Loading…
x
Reference in New Issue
Block a user