Fix #1465. Bump BCF to new namespace.

This commit is contained in:
Dion Moult
2021-05-17 14:02:29 +10:00
parent 27750e0caf
commit ba742d5976
3 changed files with 17 additions and 16 deletions
+1 -3
View File
@@ -44,9 +44,7 @@ class BcfXml:
self.edit_project()
self.edit_version()
def get_project(self, filepath=None):
if not filepath:
return self.project
def get_project(self):
if os.path.isfile(os.path.join(self.filepath, "project.bcfp")):
data = self._read_xml("project.bcfp", "project.xsd")
self.project.extension_schema = data["ExtensionSchema"]