mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
First round of CI codestyle fixes
This commit is contained in:
parent
1fa5628cb2
commit
e7fdd02b6f
5 changed files with 12 additions and 10 deletions
|
|
@ -1,4 +1,4 @@
|
|||
from typing import List
|
||||
from typing import List, Optional
|
||||
|
||||
from UM.FileHandler.FileHandler import FileHandler
|
||||
from UM.FileHandler.WriteFileJob import WriteFileJob
|
||||
|
|
@ -12,7 +12,7 @@ from .MeshFormatHandler import MeshFormatHandler
|
|||
## Job that exports the build plate to the correct file format for the target cluster.
|
||||
class ExportFileJob(WriteFileJob):
|
||||
|
||||
def __init__(self, file_handler: FileHandler, nodes: List[SceneNode], firmware_version: str) -> None:
|
||||
def __init__(self, file_handler: Optional[FileHandler], nodes: List[SceneNode], firmware_version: str) -> None:
|
||||
|
||||
self._mesh_format_handler = MeshFormatHandler(file_handler, firmware_version)
|
||||
if not self._mesh_format_handler.is_valid:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue