mirror of
https://github.com/aclist/dztui.git
synced 2026-11-06 18:10:58 +01:00
fix: cast data types correctly
This commit is contained in:
1 parent
f77d36ea44
commit
796e4c5de6
2 files changed
+4
-4
No files matched your search
@@ -90,10 +90,10 @@ class LogTreeView(ContextMixin, TreeView): # type: ignore
|
||||
if len(records) < 1:
|
||||
return None
|
||||
for record in records:
|
||||
#raw_record = model[record]
|
||||
raw_record = model[record]
|
||||
#r = [el for el in raw_record]
|
||||
els = tuple(record)
|
||||
concat = strings.delimiter.join(els)
|
||||
els = tuple(raw_record)
|
||||
concat = strings.delimiter.join(map(str, els))
|
||||
final.append(concat)
|
||||
text = "\n".join(final)
|
||||
return text
|
||||
Reference in new issue
Block a user