We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66a6bde commit 772aabdCopy full SHA for 772aabd
adafruit_displayio_layout/layouts/grid_layout.py
@@ -132,9 +132,7 @@ def get_cell(self, cell_coordinates):
132
"""
133
for index, cell in enumerate(self._cell_content_list):
134
if cell["grid_position"] == cell_coordinates:
135
- return self._cell_content_list[index][
136
- "content"
137
- ]
+ return self._cell_content_list[index]["content"]
138
139
raise KeyError(
140
"GridLayout does not contain cell at coordinates {}".format(
0 commit comments