2du %!s(int64=4) %!d(string=hai) anos
pai
achega
d0bdafe4fb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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: