Fix typing

This commit is contained in:
Lipu Fei 2019-04-18 06:18:11 +00:00
parent 56cec02d44
commit 98c4b7508f
2 changed files with 4 additions and 4 deletions

View file

@ -38,5 +38,5 @@ class UFPReader(MeshReader):
# Open the GCodeReader to parse the data # Open the GCodeReader to parse the data
gcode_reader = PluginRegistry.getInstance().getPluginObject("GCodeReader") # type: ignore gcode_reader = PluginRegistry.getInstance().getPluginObject("GCodeReader") # type: ignore
gcode_reader.preReadFromStream(gcode_stream) gcode_reader.preReadFromStream(gcode_stream) # type: ignore
return gcode_reader.readFromStream(gcode_stream) return gcode_reader.readFromStream(gcode_stream) # type: ignore

View file

@ -32,8 +32,8 @@ class CloudOutputDeviceManager:
# The translation catalog for this device. # The translation catalog for this device.
I18N_CATALOG = i18nCatalog("cura") I18N_CATALOG = i18nCatalog("cura")
addedCloudCluster = Signal(CloudOutputDevice) addedCloudCluster = Signal()
removedCloudCluster = Signal(CloudOutputDevice) removedCloudCluster = Signal()
def __init__(self) -> None: def __init__(self) -> None:
# Persistent dict containing the remote clusters for the authenticated user. # Persistent dict containing the remote clusters for the authenticated user.