mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-26 04:47:17 +01:00
IGN:Misc bug fixes
This commit is contained in:
parent
f2fae35eb2
commit
f91c1e0cc4
2 changed files with 3 additions and 1 deletions
|
|
@ -1335,6 +1335,8 @@ def get_data_as_dict(self, prefix=None, authors_as_string=False):
|
|||
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'])
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@
|
|||
'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
|
||||
|
|
|
|||
Loading…
Reference in a new issue