2du 4 éve
szülő
commit
d0bdafe4fb
1 módosított fájl, 1 hozzáadás és 1 törlés
  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: