Removed redundant return of None

This commit is contained in:
Adam Shimali
2016-01-07 16:12:29 +00:00
parent 479ecbd699
commit dfbcfa9d49

View File

@@ -126,4 +126,3 @@ def register_errorhandlers(application):
return render_template("error/{0}.html".format(error_code)), error_code
for errcode in [401, 404, 500]:
application.errorhandler(errcode)(render_error)
return None