From e2895aadec3a8985672d85def269e341f8f9f533 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 6 May 2026 11:26:25 +0800 Subject: [PATCH] bugfix --- xls2ddl/tmpls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xls2ddl/tmpls.py b/xls2ddl/tmpls.py index 547fc93..6da561c 100644 --- a/xls2ddl/tmpls.py +++ b/xls2ddl/tmpls.py @@ -136,7 +136,7 @@ filterjson = params_kw.get('data_filter') fields_str='''{{json.dumps(fields, indent=4, ensure_ascii=False)}}''' ori_fields = json.loads(fields_str) if not filterjson: - fields = [ f['name'] for f in ori_fields}} ] + fields = [ f['name'] for f in ori_fields ] filterjson = default_filterjson(fields, ns) filterdic = ns.copy() filterdic['filterstr'] = ''