diff options
author | digitalfrost <gerald.hofmaier@gmail.com> | 2022-08-24 21:22:20 +0300 |
---|---|---|
committer | digitalfrost <gerald.hofmaier@gmail.com> | 2022-08-24 21:22:20 +0300 |
commit | bb0870008e356295c771d575d1ad568be5310d9b (patch) | |
tree | 71532099ed2e1b213806301c54c33034451f6d81 | |
parent | 22baf8f34e7abb1f34f38f7192d36ffcc1e7e72c (diff) |
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.
-rw-r--r-- | cura/Scene/CuraSceneController.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cura/Scene/CuraSceneController.py b/cura/Scene/CuraSceneController.py index 1d604b74b6..54f1cc56f2 100644 --- a/cura/Scene/CuraSceneController.py +++ b/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() |