From 3751a29dfb4a5fae8b06afbdb0c2deabe4a123d7 Mon Sep 17 00:00:00 2001 From: Rich O Date: Fri, 10 Feb 2023 14:21:23 +0000 Subject: [PATCH] updating logging output --- r0b3bot.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/r0b3bot.py b/r0b3bot.py index 7290b68..385678b 100644 --- a/r0b3bot.py +++ b/r0b3bot.py @@ -80,12 +80,14 @@ async def on_ready(): while True: try: - print(" - Getting % Completion") + print(">> Checking 3D Printer Status") # Try to get the % of Completion print_completion = round(octoapi.get_completion(), 2) except: print_completion = "Unknown" + print(">>>> Nothing Printing.") if print_completion != "Unknown": + print(">>>> Something is printing, calling UpdateStatus") await updateStatus() await asyncio.sleep(120)