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.
This commit is contained in:
digitalfrost 2022-08-24 20:22:20 +02:00
parent 22baf8f34e
commit bb0870008e

View file

@ -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()