mirror of
https://github.com/Xe138/AI-Trader.git
synced 2026-04-09 04:07:24 -04:00
Compare commits
1 Commits
v0.4.0-alp
...
v0.4.0-alp
| Author | SHA1 | Date | |
|---|---|---|---|
| 9da65c2d53 |
@@ -518,7 +518,7 @@ class Database:
|
|||||||
"""
|
"""
|
||||||
if db_path is None:
|
if db_path is None:
|
||||||
from tools.deployment_config import get_db_path
|
from tools.deployment_config import get_db_path
|
||||||
db_path = get_db_path("data/trading.db")
|
db_path = get_db_path("data/jobs.db")
|
||||||
|
|
||||||
self.db_path = db_path
|
self.db_path = db_path
|
||||||
self.connection = sqlite3.connect(db_path, check_same_thread=False)
|
self.connection = sqlite3.connect(db_path, check_same_thread=False)
|
||||||
|
|||||||
Reference in New Issue
Block a user