Archived
delete config.py
This commit is contained in:
3 files changed
+28
-36
No files matched your search
+1
-2
@@ -8,7 +8,6 @@
|
||||
|
||||
import sqlite3
|
||||
from typing import List
|
||||
from config import Config
|
||||
|
||||
|
||||
class SQLite:
|
||||
@@ -19,7 +18,7 @@ class SQLite:
|
||||
初始化SQLite对象
|
||||
完成后会自动提交, 自动关闭
|
||||
"""
|
||||
self.__path = Config.SQLALCHEMY_DATABASE_URI
|
||||
self.__path = './app/db/data.db'
|
||||
self.__conn = sqlite3.connect(self.__path)
|
||||
self.__cursor = self.__conn.cursor()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user