reformatted and clarified some code

This commit is contained in:
UpstreamData
2022-04-21 10:09:30 -06:00
parent 0724a376ea
commit 59ab6e6c8a
3 changed files with 91 additions and 13 deletions

View File

@@ -107,7 +107,7 @@ If you are sure you want to use this command please use API.send_command("{item}
# handle OSError 121
except OSError as e:
if e.winerror == "121":
print("Semaphore Timeout has Expired.")
logging.warning("Semaphore Timeout has Expired.")
return {}
# create the command