mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 04:39:02 +08:00
Update cura/Snapshot.py
Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>
This commit is contained in:
parent
02fd7546a1
commit
28997b0b14
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user