mirror of
https://github.com/aclist/dztui.git
synced 2026-10-30 22:52:42 +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:
|
if len(records) < 1:
|
||||||
return None
|
return None
|
||||||
for record in records:
|
for record in records:
|
||||||
raw_record = model[record]
|
#raw_record = model[record]
|
||||||
r = [el for el in raw_record]
|
#r = [el for el in raw_record]
|
||||||
concat = strings.delimiter.join(r)
|
els = tuple(record)
|
||||||
|
concat = strings.delimiter.join(els)
|
||||||
final.append(concat)
|
final.append(concat)
|
||||||
text = "\n".join(final)
|
text = "\n".join(final)
|
||||||
return text
|
return text
|
||||||
Reference in new issue
Block a user