Commit 9bf60aaf by Gabriel Monnerat

fixup! BT: read metadata (bt/* files) through BusinessTemplateArchive

Use _download_local instead of _importBT because this method was removed
1 parent da391820
......@@ -397,7 +397,7 @@ class TemplateTool (BaseTool):
os.close(tempid) # Close the opened fd as soon as possible
with open(temppath, 'wb') as tempfile:
tempfile.write(import_file.read())
bt = self._importBT(temppath, id)
bt = self._download_local(temppath, id)
finally:
os.remove(temppath)
bt.build(no_action=True)
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!