This commit is contained in:
Benjamin Tayehanpour 2026-09-26 21:11:18 +00:00
parent 255f046c4f
commit 56d449fc7b

View file

@ -11,9 +11,9 @@ class display:
def redraw(self, row = None):
if row == None:
for row, line in enumerate(self.contents):
asyncio.run(self.device.async_message(row + 1, line))
self.device.async_message(row + 1, line)
else:
asyncio.run(self.device.async_message(row + 1, self.contents[row]))
self.device.async_message(row + 1, self.contents[row])
def read(self, row):
return self.contents[row]