From d093324fb8ad4f4157e2442e7e5d7b258a5e313d Mon Sep 17 00:00:00 2001 From: MarkusJoe Date: Fri, 25 Feb 2022 18:48:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=B8=AD=E5=A1=AB=E5=86=99=E4=BA=86=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E6=98=BE=E7=A4=BA=E4=B8=BB=E9=A2=98=E5=8D=B4=E4=B8=8D?= =?UTF-8?q?=E7=94=9F=E6=95=88=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 2 +- bin/db/__init__.py | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) delete mode 100644 bin/db/__init__.py diff --git a/app.py b/app.py index 7223793..ef48b44 100644 --- a/app.py +++ b/app.py @@ -135,7 +135,7 @@ def main() -> Response or str: return ErrorProcess().get_theme_list() if name and name != 'null': if not theme: - theme = 'lewd' + theme = conf.default_style # 设置默认主题 build_page_result = build_page(name, length, theme) # 开始处理整体页面 if build_page_result[0]: response = make_response(build_page_result[1]) # 设置响应体 和 响应头 diff --git a/bin/db/__init__.py b/bin/db/__init__.py deleted file mode 100644 index 2ace31e..0000000 --- a/bin/db/__init__.py +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env python3 -# -- coding:utf-8 -- -# @Author: markushammered@gmail.com -# @Development Tool: PyCharm -# @Create Time: 2022/2/4 -# @File Name: __init__.py.py - - -__all__ = ['db']