doorUpdater: Add debug string when updating door
This commit is contained in:
parent
167e254d15
commit
b17a19b570
@ -102,6 +102,7 @@ def makeDoor(doorName, doorData, members, hashes):
|
|||||||
if doorHash == hashes.get(doorName):
|
if doorHash == hashes.get(doorName):
|
||||||
print("Door", doorName, "not changed, not updating")
|
print("Door", doorName, "not changed, not updating")
|
||||||
else:
|
else:
|
||||||
|
print("Door", doorName, "changed, trying to update")
|
||||||
hashes[doorName] = doorHash
|
hashes[doorName] = doorHash
|
||||||
doCSVImport(doorData["ip"], outString)
|
doCSVImport(doorData["ip"], outString)
|
||||||
# write out hash if we sucessfully updated this door
|
# write out hash if we sucessfully updated this door
|
||||||
|
Reference in New Issue
Block a user