This commit is contained in:
Kovid Goyal 2008-01-31 17:28:44 +00:00
parent 463631ad7a
commit 37c40404aa

View File

@ -418,8 +418,7 @@ class FullContentProfile(DefaultProfile):
prefix = 'file:' if iswindows else '' prefix = 'file:' if iswindows else ''
clist += u'<li><a href="%s">%s</a></li>\n'%(prefix+cfile, category) clist += u'<li><a href="%s">%s</a></li>\n'%(prefix+cfile, category)
src = build_sub_index(category, articles[category]) src = build_sub_index(category, articles[category])
open(cfile, 'wb').write(src.encode('utf-8')) open(cfile, 'wb').write(src.encode('utf-8'))
open('/tmp/category'+str(cnum)+'.html', 'wb').write(src.encode('utf-8'))
src = '''\ src = '''\
<html> <html>