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
1 changed files with 1 additions and 1 deletions

View File

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