diff options
author | Jaime van Kessel <nallath@gmail.com> | 2020-01-20 18:03:56 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2020-01-20 18:03:56 +0300 |
commit | 06ccd882e1395909cfa2d66be6310270bcfc94bb (patch) | |
tree | a8521f15c56406558f6a83d17d2e6f4e2c1d3e86 /plugins/3MFWriter/ThreeMFWorkspaceWriter.py | |
parent | 52ce10639932cc9da4c471864bdb315e6f33a295 (diff) |
Add missing typing
CURA-6627
Diffstat (limited to 'plugins/3MFWriter/ThreeMFWorkspaceWriter.py')
-rw-r--r-- | plugins/3MFWriter/ThreeMFWorkspaceWriter.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/3MFWriter/ThreeMFWorkspaceWriter.py b/plugins/3MFWriter/ThreeMFWorkspaceWriter.py index 08918e1c12..10a21f445b 100644 --- a/plugins/3MFWriter/ThreeMFWorkspaceWriter.py +++ b/plugins/3MFWriter/ThreeMFWorkspaceWriter.py @@ -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(): |