mirror of
https://gitee.com/fasiondog/hikyuu.git
synced 2024-12-02 11:58:21 +08:00
fixed
This commit is contained in:
parent
e7467ece44
commit
dd0f718d5b
@ -53,7 +53,7 @@ class SqliteMemDriver:
|
|||||||
|
|
||||||
@dbcommit
|
@dbcommit
|
||||||
def _create_table(self):
|
def _create_table(self):
|
||||||
filename = os.path.dirname(__file__) + '/sqlite_mem/createdb.sql'
|
filename = os.path.dirname(__file__) + '/sqlite_mem_sql/createdb.sql'
|
||||||
with open(filename, 'r', encoding='utf8') as f:
|
with open(filename, 'r', encoding='utf8') as f:
|
||||||
self.cursor.executescript(f.read())
|
self.cursor.executescript(f.read())
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user