Include images/tcosm11.gif

This commit is contained in:
Sam Ruby 2007-04-30 12:23:04 -04:00
parent a5e1fde287
commit 82753d09a1
3 changed files with 9 additions and 1 deletions

View File

@ -38,6 +38,11 @@ cache = config.cache_directory()
meme_cache = os.path.join(cache, 'memes')
if not os.path.exists(meme_cache): os.makedirs(meme_cache)
bom = config.bill_of_materials()
if not 'images/tcosm11.gif' in bom:
bom.append('images/tcosm11.gif')
config.parser.set('Planet', 'bill_of_materials', ' '.join(bom))
all_links = {}
feed_links = {}
@ -412,7 +417,7 @@ for i in range(0,len(weighted_links)):
a.setProp('href',tlink + quote_plus(link))
a.setProp('title','cosmos')
img = a.newChild(None, 'img', None)
img.setProp('src','tcosm11.gif')
img.setProp('src','images/tcosm11.gif')
# main link
a = li.newTextChild(None, 'a', title.strip().encode('utf-8'))

View File

@ -151,6 +151,9 @@ def apply(doc):
if os.path.exists(source): break
else:
log.error('Unable to locate %s', copy_file)
log.info("Template search path:")
for template_dir in config.template_directories():
log.info(" %s", os.path.realpath(template_dir))
continue
mtime = os.stat(source).st_mtime

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 B