doorUpdater: Add debug string when updating door

This commit is contained in:
Adam Goldsmith 2018-06-10 22:52:31 -04:00
parent 167e254d15
commit b17a19b570

View File

@ -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