Skip to content

Commit b8b4b2d

Browse files
authored
Merge pull request freqtrade#11676 from mrpabloyeah/fix-mixed-tag-stats-in-backtest-output
Fix mixed tag stats in backtest output
2 parents 956398a + 0cf1f6d commit b8b4b2d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

freqtrade/optimize/optimize_reports/bt_output.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,9 @@ def text_table_tags(
102102
[
103103
*(
104104
(
105-
(t["key"] if isinstance(t["key"], list) else [t["key"], ""])
105+
list(t["key"])
106+
if isinstance(t["key"], list | tuple)
107+
else [t["key"], ""]
106108
if is_list
107109
else [t["key"]]
108110
)

0 commit comments

Comments
 (0)