mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Attempt to appease Iain and the security machine
This commit is contained in:
parent
7302737005
commit
7629f9a3ff
@ -59,7 +59,8 @@ class BaseHandler(tornado.web.RequestHandler):
|
||||
return self.autobleach(name, arg)
|
||||
|
||||
def get_arguments(self, name: str, strip: bool = True) -> List[str]:
|
||||
assert isinstance(strip, bool)
|
||||
if not isinstance(strip, bool):
|
||||
raise AssertionError
|
||||
args = self._get_arguments(name, self.request.arguments, strip)
|
||||
args_ret = []
|
||||
for arg in args:
|
||||
|
Loading…
Reference in New Issue
Block a user