Browse Source

CuraSceneController.py : Fix problem with log message and use f-string

- Correct log message (we want to log the "selected" build plate)
- Use f-string and debug method for Logger instead of "Old Style" string formatting.
digitalfrost 2 years ago
parent
commit
bb0870008e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cura/Scene/CuraSceneController.py

+ 1 - 1
cura/Scene/CuraSceneController.py

@@ -139,7 +139,7 @@ class CuraSceneController(QObject):
     def setActiveBuildPlate(self, nr):
         if nr == self._active_build_plate:
             return
-        Logger.log("d", "Select build plate: %s" % nr)
+        Logger.debug(f"Selected build plate: {nr}")
         self._active_build_plate = nr
         Selection.clear()