mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Revert "Use parseBool instead of "is True" and "is False""
This reverts commit aa454ea357
.
This commit is contained in:
parent
aa2acac244
commit
c15e49876a
1 changed files with 2 additions and 3 deletions
|
@ -20,7 +20,6 @@ from UM.Signal import Signal, signalemitter
|
|||
from UM.Version import Version
|
||||
from UM.Message import Message
|
||||
from UM.i18n import i18nCatalog
|
||||
from UM.Util import parseBool
|
||||
|
||||
from . import ClusterUM3OutputDevice, LegacyUM3OutputDevice
|
||||
from .Cloud.CloudOutputDeviceManager import CloudOutputDeviceManager
|
||||
|
@ -420,12 +419,12 @@ class UM3OutputDevicePlugin(OutputDevicePlugin):
|
|||
return
|
||||
|
||||
# Check 1B: Printer isn't already configured for cloud
|
||||
if parseBool(active_machine.getMetaDataEntry("cloud_flow_complete", "value")):
|
||||
if active_machine.getMetaDataEntry("cloud_flow_complete", "value") is True:
|
||||
Logger.log("d", "Active machine was already configured for cloud.")
|
||||
return
|
||||
|
||||
# Check 2: User did not already say "Don't ask me again"
|
||||
if not parseBool(active_machine.getMetaDataEntry("show_cloud_message", "value")):
|
||||
if active_machine.getMetaDataEntry("show_cloud_message", "value") is False:
|
||||
Logger.log("d", "Active machine shouldn't ask about cloud anymore.")
|
||||
return
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue