* src/plugins/WebCal.py:
	* src/plugins/NarrativeWeb.py:
	Change const.image_dir to uppercase const.IMAGE_DIR


svn: r8998
This commit is contained in:
Zsolt Foldvari
2007-09-23 17:18:47 +00:00
parent 64a0e59955
commit b42877e41b
3 changed files with 8 additions and 3 deletions

View File

@@ -403,7 +403,7 @@ class WebReport(Report):
of.write('alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a></p>\n')
if self.copy > 0 and self.copy <= 6:
text = _cc[self.copy-1]
from_path = os.path.join(const.image_dir,"somerights20.gif")
from_path = os.path.join(const.IMAGE_DIR,"somerights20.gif")
shutil.copyfile(from_path,os.path.join(self.html_dir,"somerights20.gif"))
else:
text = "&copy; %s %s" % (time.localtime()[0], author)