mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Don't take unnecessary kwargs in exposed methods
This commit is contained in:
1 parent
ef493ae243
commit
3e32715a55
4 files changed
+5
-19
No files matched your search
@@ -45,10 +45,8 @@ class Firewall(PagePlugin):
|
||||
|
||||
@cherrypy.expose
|
||||
@require()
|
||||
def index(self, **kwargs):
|
||||
def index(self):
|
||||
"""Serve introcution page"""
|
||||
del kwargs # Unused
|
||||
|
||||
if not self.get_installed_status():
|
||||
return util.render_template(template='firewall',
|
||||
title=_("Firewall"),
|
||||
|
||||
Reference in new issue
Block a user