mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 15:15:56 +08:00
Fix message saying all is good if it isn't
This commit is contained in:
parent
e4edd5732f
commit
e4c3ab33f8
@ -71,6 +71,8 @@ def main():
|
|||||||
if result.returncode != 0:
|
if result.returncode != 0:
|
||||||
print("\nModule {mod} failed checking. :(".format(**locals()))
|
print("\nModule {mod} failed checking. :(".format(**locals()))
|
||||||
success_code = 1
|
success_code = 1
|
||||||
|
if success_code:
|
||||||
|
print("\n\nSome modules failed checking!")
|
||||||
else:
|
else:
|
||||||
print("\n\nDone checking. All is good.")
|
print("\n\nDone checking. All is good.")
|
||||||
return success_code
|
return success_code
|
||||||
|
Loading…
x
Reference in New Issue
Block a user