From 0eeb4c3e011253ca6ea3dbcaac7a85ac30fbc792 Mon Sep 17 00:00:00 2001 From: Kees Bakker Date: Fri, 1 Aug 2008 09:01:24 +0000 Subject: [PATCH] Correct subdir when creating individual page. * src/plugins/WebCal.py svn: r10950 --- src/plugins/WebCal.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/plugins/WebCal.py b/src/plugins/WebCal.py index 2c5729b26..dd5220322 100644 --- a/src/plugins/WebCal.py +++ b/src/plugins/WebCal.py @@ -695,10 +695,8 @@ class WebCalReport(Report): shrt_month = GrampsLocale.short_months[month] # 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 = os.path.join(lng_month, cal_fname) - of = self.create_file(cal_fname, "%d" % year) + of = self.create_file(cal_fname, os.path.join(str(year), lng_month)) arrow = os.path.join(self.html_dir, "images", "arrow102.gif") mystyle = """