Skip to content

Commit 277c01e

Browse files
Fix flake8 error
1 parent 06140bc commit 277c01e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tk_tools/groups.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,8 @@ def add_row(self, data: list, row_label: str = None):
285285
row = list()
286286

287287
if row_label is not None:
288-
l = tk.Label(self, text=row_label)
289-
row.append(l)
288+
lbl = tk.Label(self, text=row_label)
289+
row.append(lbl)
290290

291291
for i, e in enumerate(data):
292292
if not isinstance(e, tuple):
@@ -323,7 +323,6 @@ def add_row(self, data: list, row_label: str = None):
323323
widget.grid(row=i+r, column=j, sticky='ew')
324324

325325

326-
327326
class KeyValueEntry(ttk.Frame):
328327
"""
329328
Creates a key-value input/output frame.

0 commit comments

Comments
 (0)