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