Add missing typing

CURA-6627
This commit is contained in:
Jaime van Kessel 2020-01-20 16:03:56 +01:00
parent 52ce106399
commit 06ccd882e1
No known key found for this signature in database
GPG key ID: 3710727397403C91
2 changed files with 4 additions and 2 deletions

View file

@ -80,7 +80,8 @@ class ThreeMFWorkspaceWriter(WorkspaceWriter):
mesh_writer.setStoreArchive(False)
return True
def _writePluginMetadataToArchive(self, archive):
@staticmethod
def _writePluginMetadataToArchive(archive: zipfile.ZipFile) -> None:
file_name_template = "%s/plugin_metadata.json"
for plugin_id, metadata in Application.getInstance().getWorkspaceMetadataStorage().getAllData().items():