This commit is contained in:
Benjamin Tayehanpour 2026-09-26 21:30:00 +00:00
parent 8df4d810cc
commit 796b37bff6
2 changed files with 4 additions and 3 deletions

View file

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