Index: tools/lua/gradients.py |
diff --git a/tools/lua/gradients.py b/tools/lua/gradients.py |
index 0fa4c49775d3c09d8a380461bfc6ad19982e14cd..65ced5e854a38b49c5a2f9ec3c1321a70b6622c6 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(); |