mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue