diff --git a/hash2phone/hashmap_gen_sqlite.py b/hash2phone/hashmap_gen_sqlite.py index 65b0089..2e7396a 100644 --- a/hash2phone/hashmap_gen_sqlite.py +++ b/hash2phone/hashmap_gen_sqlite.py @@ -64,6 +64,7 @@ print("\r%d%% completed" % int(100 - (phone_stop-num)/percentile), end="") c.executemany(sql_insert, phones_temp) phones_temp = list() -conn.commit() +c.executemany(sql_insert, phones_temp) +print("\r100% completed")conn.commit() conn.close() print()