OpenOffice fixes, calendar format fixes

svn: r1239
This commit is contained in:
Don Allingham
2003-01-06 05:14:49 +00:00
parent 6620c09d52
commit c6ca0c4e18
14 changed files with 330 additions and 189 deletions

View File

@@ -1081,12 +1081,10 @@ try:
parser = make_parser()
path = const.template_dir
parser.setContentHandler(TemplateParser(_template_map,path))
parser.parse("%s/templates.xml" % path)
parser.parse("file://%s/templates.xml" % path)
parser = make_parser()
path = os.path.expanduser("~/.gramps/templates")
parser.setContentHandler(TemplateParser(_template_map,path))
parser.parse("%s/templates.xml" % path)
parser.parse("file://%s/templates.xml" % path)
except (IOError,OSError,SAXParseException):
pass