updating logging output

This commit is contained in:
rich committed 2023-02-10 14:21:23 +00:00
1 parent 2aae88ed22
commit 3751a29dfb
1 file changed
+3 -1
+3 -1
View File
@@ -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)