From 28997b0b14f9a0cab368e7b2dbec985d6e70161d Mon Sep 17 00:00:00 2001 From: Saumya Jain <70144862+saumyaj3@users.noreply.github.com> Date: Fri, 8 Mar 2024 16:38:57 +0100 Subject: [PATCH] Update cura/Snapshot.py Co-authored-by: Casper Lamboo --- cura/Snapshot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/Snapshot.py b/cura/Snapshot.py index 77cb9ea29c..920caa5501 100644 --- a/cura/Snapshot.py +++ b/cura/Snapshot.py @@ -200,7 +200,7 @@ class Snapshot: Logger.logException("w", f"Failed to crop the snapshot! {e}") return None elif number_of_attempts == 0: - Logger.warning( f"Failed to crop the snapshot even after 10 attempts!") + Logger.warning( f"Failed to crop the snapshot even after {Snapshot.ATTEMPTS_FOR_SNAPSHOT} attempts!") return None else: number_of_attempts = number_of_attempts - 1