diff --git a/display.py b/display.py index 945d58b..1d9afd2 100644 --- a/display.py +++ b/display.py @@ -19,5 +19,5 @@ class display: return self.contents[row] async def write(self, row, data, offset = 0): - self.contents[row - 1] = f'{self.contents[row][:offset]}{data}{self.contents[row][offset+len(data):]}' + self.contents[row - 1] = f'{self.contents[row - 1][:offset]}{data}{self.contents[row - 1][offset+len(data):]}' await self.redraw(row) \ No newline at end of file