From ee1a1983c0eafae0078c46dbca158e46b008f2e7 Mon Sep 17 00:00:00 2001 From: Andrew Ekstedt Date: Fri, 30 Mar 2018 13:20:36 -0700 Subject: [PATCH] try only disabling PRAGMA journal_mode=OFF --- pokedex/db/load.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pokedex/db/load.py b/pokedex/db/load.py index 50513f0..1684bbf 100644 --- a/pokedex/db/load.py +++ b/pokedex/db/load.py @@ -156,8 +156,8 @@ def load(session, tables=[], directory=None, drop_tables=False, verbose=False, s # SQLite speed tweaks if not safe and engine.dialect.name == 'sqlite': - #session.execute("PRAGMA synchronous=OFF") - session.execute("PRAGMA journal_mode=OFF") + session.execute("PRAGMA synchronous=OFF") + #session.execute("PRAGMA journal_mode=OFF") # Drop all tables if requested if drop_tables: