mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-04 23:40:38 +08:00
Improve cloud flow checks
Contributes to CL-1222
This commit is contained in:
parent
8fecf7fb39
commit
d74f4f36bd
@ -419,12 +419,12 @@ class UM3OutputDevicePlugin(OutputDevicePlugin):
|
|||||||
return
|
return
|
||||||
|
|
||||||
# Check 1B: Printer isn't already configured for cloud
|
# Check 1B: Printer isn't already configured for cloud
|
||||||
if active_machine.getMetaDataEntry("cloud_flow_complete", "value") is True:
|
if active_machine.getMetaDataEntry("cloud_flow_complete", False):
|
||||||
Logger.log("d", "Active machine was already configured for cloud.")
|
Logger.log("d", "Active machine was already configured for cloud.")
|
||||||
return
|
return
|
||||||
|
|
||||||
# Check 2: User did not already say "Don't ask me again"
|
# Check 2: User did not already say "Don't ask me again"
|
||||||
if active_machine.getMetaDataEntry("show_cloud_message", "value") is False:
|
if not active_machine.getMetaDataEntry("show_cloud_message", True):
|
||||||
Logger.log("d", "Active machine shouldn't ask about cloud anymore.")
|
Logger.log("d", "Active machine shouldn't ask about cloud anymore.")
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user