diff --git a/import_database.py b/import_database.py index 77c8c1e..a1bef35 100644 --- a/import_database.py +++ b/import_database.py @@ -15,5 +15,7 @@ cur = sql.cursor() with open(sys.argv[1], "r") as f: cur.executescript( f.read() ) +sql.commit() + cur.close() sql.close() \ No newline at end of file