mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 22:08:59 +08:00
Replace f string since it's not available in Python3.5
That should fix the failing test which produces a SyntaxError. CURA-7827
This commit is contained in:
parent
1a759f81df
commit
845c994cbc
@ -866,7 +866,7 @@ class MachineManager(QObject):
|
||||
user_changes_container = self._global_container_stack.userChanges
|
||||
if self.numberExtrudersEnabled > 1:
|
||||
user_changes_container.setProperty(setting_key, "value", new_value)
|
||||
Logger.log("d", f"Setting '{setting_key}' in '{user_changes_container}' to '{new_value}' because there are more than 1 enabled extruders.")
|
||||
Logger.log("d", "Setting '{}' in '{}' to '{}' because there are more than 1 enabled extruders.".format(setting_key, user_changes_container, new_value))
|
||||
|
||||
def setActiveMachineExtruderCount(self, extruder_count: int) -> None:
|
||||
"""Set the amount of extruders on the active machine (global stack)
|
||||
|
Loading…
x
Reference in New Issue
Block a user