From c4013ee3eed0462833ff3a1b339d9178cd02a290 Mon Sep 17 00:00:00 2001 From: Randall Nagy Date: Fri, 24 May 2024 01:31:44 -0400 Subject: [PATCH] Clarity --- SqltDAO/Demo123.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SqltDAO/Demo123.py b/SqltDAO/Demo123.py index ce98254..688b1af 100644 --- a/SqltDAO/Demo123.py +++ b/SqltDAO/Demo123.py @@ -77,15 +77,15 @@ from SqltDAO.CodeGen01.SqlSyntax import SqliteCrud -for line in tables: - zname = line["ObjectName"] +for table in tables: + zname = table["ObjectName"] print("Table:", zname) order = OrderClass( db_name=output_file + ".sqlt3", class_name=zname, table_name=zname, file_name="./" + zname + ".py") - zfields = line["Fields"] + zfields = table["Fields"] sql = SqliteCrud(order, zfields) data_file = str(zname + '.csv') result = sql.code_class_template(data_file)