mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-24 04:24:43 +02:00
This commit is contained in:
parent
463631ad7a
commit
37c40404aa
1 changed files with 1 additions and 2 deletions
|
|
@ -418,8 +418,7 @@ def build_sub_index(title, items):
|
|||
prefix = 'file:' if iswindows else ''
|
||||
clist += u'<li><a href="%s">%s</a></li>\n'%(prefix+cfile, category)
|
||||
src = build_sub_index(category, articles[category])
|
||||
open(cfile, 'wb').write(src.encode('utf-8'))
|
||||
open('/tmp/category'+str(cnum)+'.html', 'wb').write(src.encode('utf-8'))
|
||||
open(cfile, 'wb').write(src.encode('utf-8'))
|
||||
|
||||
src = '''\
|
||||
<html>
|
||||
|
|
|
|||
Loading…
Reference in a new issue