11 lines
266 B
Python
11 lines
266 B
Python
#!/usr/bin/env python3
|
|
from common import doors
|
|
|
|
def forEachDoor(fxn):
|
|
for door in doors.values():
|
|
print(door.name)
|
|
fxn(door)
|
|
|
|
#forEachDoor(lambda door: door.sendCardFormat("A901146A-244", 1, 244))
|
|
#forEachDoor(lambda door: door.sendSchedules())
|