updating logging output
This commit is contained in:
1 parent
2aae88ed22
commit
3751a29dfb
1 file changed
+3
-1
+3
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user