summaryrefslogtreecommitdiff
path: root/cgi-bin/save
diff options
context:
space:
mode:
authorJules <jules@asdf.us>2014-02-01 12:46:37 -0500
committerJules <jules@asdf.us>2014-02-01 12:46:37 -0500
commita947354668ca5f773d4586d36275abf09ae27631 (patch)
tree1678a577248c0086b8ab0940845a603ed1d11025 /cgi-bin/save
parent023684efdf8983362fddef2a3aa36838b90dbf00 (diff)
fix wh in save script
Diffstat (limited to 'cgi-bin/save')
-rwxr-xr-xcgi-bin/save2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi-bin/save b/cgi-bin/save
index bff7233..2bfb8c2 100755
--- a/cgi-bin/save
+++ b/cgi-bin/save
@@ -67,7 +67,7 @@ def store_shader_in_db(script, shader_id=False, image_url="",username="",name=""
conn.commit()
x.execute("""INSERT INTO shaders (script, image_url, username, name, remote_addr, time, shader_id, width, height) values (%s,%s,%s,%s,%s,%s,%s,%s,%s)""" ,
- (script, image_url, username, name, REMOTE_IP, NOW, shader_id)
+ (script, image_url, username, name, REMOTE_IP, NOW, shader_id, width, height)
);
last_id = conn.insert_id()
conn.commit()