diff options
Diffstat (limited to 'src/hydrilla')
-rw-r--r-- | src/hydrilla/proxy/state_impl/concrete_state.py | 2 | ||||
-rw-r--r-- | src/hydrilla/proxy/state_impl/tables.sql (renamed from src/hydrilla/proxy/tables.sql) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/hydrilla/proxy/state_impl/concrete_state.py b/src/hydrilla/proxy/state_impl/concrete_state.py index d8706e8..f189aa2 100644 --- a/src/hydrilla/proxy/state_impl/concrete_state.py +++ b/src/hydrilla/proxy/state_impl/concrete_state.py @@ -76,7 +76,7 @@ def _prepare_database(connection: sqlite3.Connection) -> None: (db_initialized,), = cursor.fetchall() if not db_initialized: - cursor.executescript((here.parent / 'tables.sql').read_text()) + cursor.executescript((here / 'tables.sql').read_text()) else: cursor.execute( ''' diff --git a/src/hydrilla/proxy/tables.sql b/src/hydrilla/proxy/state_impl/tables.sql index 6ceea25..6ceea25 100644 --- a/src/hydrilla/proxy/tables.sql +++ b/src/hydrilla/proxy/state_impl/tables.sql |