2du vor 4 Jahren
Ursprung
Commit
d0bdafe4fb
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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: