datasets: add metadata format param

This commit is contained in:
Simon Renblad 2023-07-03 12:27:47 +08:00 committed by Sébastien Bourdeauducq
parent e710d4badd
commit 376f36c965

View File

@ -100,7 +100,7 @@ class Model(DictSyncTreeSepModel):
if column == 1:
return "Y" if v[0] else "N"
elif column == 2:
return short_format(v[1])
return short_format(v[1], v[2])
else:
raise ValueError