mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-31 21:21:59 +08:00
Add missing typing
CURA-12138
This commit is contained in:
parent
4d2c879d1d
commit
fe5b4bac24
@ -9,6 +9,7 @@ from threading import Lock
|
|||||||
import zipfile
|
import zipfile
|
||||||
from typing import Dict, Any
|
from typing import Dict, Any
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
from zipfile import ZipFile
|
||||||
|
|
||||||
from UM.Application import Application
|
from UM.Application import Application
|
||||||
from UM.Logger import Logger
|
from UM.Logger import Logger
|
||||||
@ -199,7 +200,7 @@ class ThreeMFWorkspaceWriter(WorkspaceWriter):
|
|||||||
return
|
return
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _writeLogFile(archive):
|
def _writeLogFile(archive: ZipFile) -> None:
|
||||||
"""Helper function that writes the Cura log file to the archive.
|
"""Helper function that writes the Cura log file to the archive.
|
||||||
|
|
||||||
:param archive: The archive to write to.
|
:param archive: The archive to write to.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user