Correct subdir when creating individual page.

* src/plugins/WebCal.py


svn: r10950
This commit is contained in:
Kees Bakker 2008-08-01 09:01:24 +00:00
parent 5292cd0ed9
commit 0eeb4c3e01

View File

@ -695,10 +695,8 @@ class WebCalReport(Report):
shrt_month = GrampsLocale.short_months[month] shrt_month = GrampsLocale.short_months[month]
# Name the file, and create it # Name the file, and create it
# TODO. Do we want locale month name here?
cal_fname = '%s%d%s' % (shrt_month, day_num, self.ext) cal_fname = '%s%d%s' % (shrt_month, day_num, self.ext)
cal_fname = os.path.join(lng_month, cal_fname) of = self.create_file(cal_fname, os.path.join(str(year), lng_month))
of = self.create_file(cal_fname, "%d" % year)
arrow = os.path.join(self.html_dir, "images", "arrow102.gif") arrow = os.path.join(self.html_dir, "images", "arrow102.gif")
mystyle = """ mystyle = """