OpenOffice fixes, calendar format fixes
svn: r1239
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user