From b48a92b2aa2b49c8c0c5abea41b27bfe671e3575 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 6 May 2026 11:22:39 +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 8e68bb3..547fc93 100644 --- a/xls2ddl/tmpls.py +++ b/xls2ddl/tmpls.py @@ -133,7 +133,7 @@ ns['sort'] = '{{relation.outter_field}}_text' sql = '''{{sql}}''' {% if not relation %} filterjson = params_kw.get('data_filter') -fields_str="""{{json.dumps(fields, indent=4, ensure_ascii=False)}}""" +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}} ]