change: convert TreeModelRow to tuple directly

This commit is contained in:
aclist committed 2026-05-14 16:48:16 +09:00
1 parent aa6b94905a
commit f77d36ea44
1 file changed
+4 -3
+4 -3
View File
@@ -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