From bb0870008e356295c771d575d1ad568be5310d9b Mon Sep 17 00:00:00 2001 From: digitalfrost Date: Wed, 24 Aug 2022 20:22:20 +0200 Subject: [PATCH] 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. --- cura/Scene/CuraSceneController.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()