Avoid double space in log message

This commit is contained in:
Roy Nieterau 2023-11-14 00:36:33 +01:00
parent 6698166954
commit 871bf194da

View file

@ -103,10 +103,10 @@ class CollectComment(
instance.data["comment"] = instance_comment
if instance_comment:
msg_end = " has comment set to: \"{}\"".format(
msg_end = "has comment set to: \"{}\"".format(
instance_comment)
else:
msg_end = " does not have set comment"
msg_end = "does not have set comment"
self.log.debug("Instance {} {}".format(instance_label, msg_end))
def cleanup_comment(self, comment):