corrected db url path

master
Calum Andrew Morrell 2025-01-03 12:22:00 +00:00
parent 1902e01265
commit e505bf23a6
2 changed files with 4 additions and 1 deletions

3
.gitignore vendored
View File

@ -1,3 +1,6 @@
### Project additions
*.db
### Python template
# Byte-compiled / optimized / DLL files
__pycache__/

View File

@ -3,5 +3,5 @@ import os
from sqlalchemy import create_engine
current_path = os.path.dirname(os.path.abspath(__file__))
database_url = f'sqlite:///{current_path}data/dg_osm.db'
database_url = f'sqlite:///{current_path}/dg_osm.db'
engine = create_engine(database_url, echo=True)