update_sharing: wrong database name
authorHelmut Grohne <helmut@subdivi.de>
Sat, 2 Mar 2013 21:33:39 +0000 (22:33 +0100)
committerHelmut Grohne <helmut@subdivi.de>
Sat, 2 Mar 2013 21:33:39 +0000 (22:33 +0100)
update_sharing.py

index 92da945..dd12e5b 100755 (executable)
@@ -38,7 +38,7 @@ def process_pkgdict(cursor, pkgdict):
                     add_values(cursor, insert_key, pkgnumfiles, pkgsize)
 
 def main():
-    db = sqlite3.connect("big.sqlite3")
+    db = sqlite3.connect("test.sqlite3")
     cur = db.cursor()
     cur.execute("DELETE FROM sharing;")
     readcur = db.cursor()