mirror of
https://github.com/aclist/dztui.git
synced 2026-10-26 20:52:44 +01:00
change: convert TreeModelRow to tuple directly
This commit is contained in:
1 parent
aa6b94905a
commit
f77d36ea44
1 file changed
+4
-3
@@ -90,9 +90,10 @@ class LogTreeView(ContextMixin, TreeView): # type: ignore
|
||||
if len(records) < 1:
|
||||
return None
|
||||
for record in records:
|
||||
raw_record = model[record]
|
||||
r = [el for el in raw_record]
|
||||
concat = strings.delimiter.join(r)
|
||||
#raw_record = model[record]
|
||||
#r = [el for el in raw_record]
|
||||
els = tuple(record)
|
||||
concat = strings.delimiter.join(els)
|
||||
final.append(concat)
|
||||
text = "\n".join(final)
|
||||
return text
|
||||
Reference in new issue
Block a user