delete config.py

This commit is contained in:
MarkusJoe
2022-03-27 17:03:20 +08:00
parent 1976ef6155
commit 80a5f4425c
3 files changed
+28 -36

No files matched your search

+1 -2
View File
@@ -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()