修复无法使用的bug

This commit is contained in:
MarkusJoe
2022-02-19 11:48:15 +08:00
parent 8c89f4a024
commit e28e4d52de
5 files changed
+23 -13

No files matched your search

+2 -2
View File
@@ -9,14 +9,14 @@
from typing import Optional
from flask import jsonify
from flask import Response
from bin.db import (update_data, fetch_table)
from bin.db.sqlite import (update_data, fetch_table)
class ErrorProcess:
"""处理错误的页面"""
def __init__(self):
self.msg_template = {'code': -2,
'msg': '',
'msg': Optional[str],
'data': Optional[list]}
def get_theme_list(self) -> Response: