mirror of
https://github.com/aclist/dztui.git
synced 2026-08-27 02:07:18 +02:00
change: convert TreeModelRow to tuple directly
This commit is contained in:
parent
aa6b94905a
commit
f77d36ea44
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user