summaryrefslogtreecommitdiffstats
path: root/feed/sse_db.py
diff options
context:
space:
mode:
Diffstat (limited to 'feed/sse_db.py')
-rw-r--r--feed/sse_db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/feed/sse_db.py b/feed/sse_db.py
index 6a0f7e6..1b6f4ca 100644
--- a/feed/sse_db.py
+++ b/feed/sse_db.py
@@ -59,7 +59,7 @@ def new_provider_record(recid, package_id, provider_id, meta):
def new_file(package_id, path, language_id = 0):
- cursor.execute('INSERT INTO file (crawler_id, package_id, path, language_id) VALUES (%s, %s, %s)', (package_id[0], package_id[1], path, language_id));
+ cursor.execute('INSERT INTO file (crawler_id, package_id, path, language_id) VALUES (%s, %s, %s, %s)', (package_id[0], package_id[1], path, language_id));
return (SSE_CRAWLER_ID, last_insert_id())