favicon.ico has moved from IMAGE-DIR to WEBSTUFF/imagesi, so get the file from the correct location when writing reports to HTML.
svn: r20399
This commit is contained in:
parent
49e89808c9
commit
36228d2808
@ -47,7 +47,7 @@ from gen.ggettext import gettext as _
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
from gen.utils.image import resize_to_jpeg
|
||||
from gen.const import DATA_DIR, IMAGE_DIR, PROGRAM_NAME, URL_HOMEPAGE, VERSION
|
||||
from gen.const import DATA_DIR, WEBSTUFF_DIR, PROGRAM_NAME, URL_HOMEPAGE, VERSION
|
||||
from gen.plug.docgen import BaseDoc, TextDoc, FONT_SANS_SERIF, URL_PATTERN
|
||||
from libhtmlbackend import HtmlBackend, process_spaces
|
||||
from libhtml import Html
|
||||
@ -296,7 +296,7 @@ class HtmlDoc(BaseDoc, TextDoc):
|
||||
if os.path.exists(fullpath):
|
||||
self.copy_file(fullpath, _HTMLSCREEN)
|
||||
#favicon
|
||||
self.copy_file(os.path.join(IMAGE_DIR, 'favicon.ico'),
|
||||
self.copy_file(os.path.join(WEBSTUFF_DIR + "/images", 'favicon.ico'),
|
||||
'favicon.ico')
|
||||
|
||||
def __reduce_list(self):
|
||||
|
Loading…
Reference in New Issue
Block a user