aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/lua/gradients.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lua/gradients.py')
-rwxr-xr-xtools/lua/gradients.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/lua/gradients.py b/tools/lua/gradients.py
index 0fa4c49775..65ced5e854 100755
--- a/tools/lua/gradients.py
+++ b/tools/lua/gradients.py
@@ -12,6 +12,7 @@ def create_database(inpath, outpath):
with sqlite3.connect(outpath) as conn:
c = conn.cursor();
c.execute('''CREATE TABLE IF NOT EXISTS gradients (
+ FileName TEXT,
ColorCount INTEGER,
GradientType TEXT,
TileMode TEXT,
@@ -27,8 +28,9 @@ def create_database(inpath, outpath):
for line in [line.strip() for line in results]:
gradients.append(line.split());
- c.executemany("INSERT INTO gradients VALUES (?, ?, ?, ?, ?, ?, ?)",
- gradients);
+ c.executemany(
+ "INSERT INTO gradients VALUES (?, ?, ?, ?, ?, ?, ?, ?)",
+ gradients);
conn.commit();