From 746a602dcbd213a4889db3ca261f78c18028c73e Mon Sep 17 00:00:00 2001 From: Mathias Couraud Date: Sun, 12 Oct 2025 13:01:00 +0200 Subject: [PATCH] final commit --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 9b052c0..5c7a5d9 100644 --- a/main.py +++ b/main.py @@ -18,7 +18,7 @@ if __name__ == '__main__': # Connect to the BambuLab 3D printer printer.connect() - time.sleep(2) + time.sleep(5) # Get the printer status status = printer.get_state() @@ -26,7 +26,7 @@ if __name__ == '__main__': rem_time = printer.get_time() print(f'Remaining time {rem_time}') percent = printer.get_percentage() - print(f'Remaining time {rem_time}') + print(f'Percentage : {percent}') # Disconnect from the Bambulabs 3D printer printer.disconnect()