updated to python3 standard

This commit is contained in:
Nico Melone
2022-10-05 12:31:33 -05:00
parent 792b3e8d0a
commit 17b83fa45e
2 changed files with 2 additions and 2 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@@ -117,10 +117,10 @@ class start(threading.Thread, deviceBase):
#and then check the response...
if response == 0:
print hostname, 'is up!'
print(hostname, 'is up!')
self.ping_counter = 0
else:
print hostname, 'is down!'
print(hostname, 'is down!')
self.ping_counter += 1
if self.ping_counter >= 3: