更新一些细节

This commit is contained in:
MarkusJoe
2022-04-02 18:03:25 +08:00
parent 9cf574b8e7
commit 77745e6f01
6 files changed
+44 -31

No files matched your search

+8 -2
View File
@@ -15,8 +15,6 @@ from .main import main
class Config:
JSON_SORT_KEYS = False
JSON_AS_ASCII = False
SQLALCHEMY_DATABASE_URI = './app/db/data.db'
SQLALCHEMY_TRACK_MODIFICATIONS = False
@staticmethod
def init_app(app):
@@ -61,3 +59,11 @@ if __name__ == '__main__':
print('数据库文件未找到, 正在下载中')
download()
print('下载完成')
__all__ = [
'db',
'main',
'tests',
'utils',
'create_app'
]