瀏覽代碼

fix bug 2

2du 4 年之前
父節點
當前提交
d0bdafe4fb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      route/main_error_404.py

+ 1 - 1
route/main_error_404.py

@@ -1,6 +1,6 @@
 from .tool.func import *
 
-def main_error_404():
+def main_error_404(e = ''):
     if os.path.exists('404.html') and flask.request.path != '/':
         return open('404.html', encoding = 'utf8').read(), 404
     else: