Skip to content

Commit 772aabd

Browse files
committed
black format
1 parent 66a6bde commit 772aabd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

adafruit_displayio_layout/layouts/grid_layout.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,7 @@ def get_cell(self, cell_coordinates):
132132
"""
133133
for index, cell in enumerate(self._cell_content_list):
134134
if cell["grid_position"] == cell_coordinates:
135-
return self._cell_content_list[index][
136-
"content"
137-
]
135+
return self._cell_content_list[index]["content"]
138136

139137
raise KeyError(
140138
"GridLayout does not contain cell at coordinates {}".format(

0 commit comments

Comments
 (0)