Attempt to appease Iain and the security machine

This commit is contained in:
amcmanu3 2022-03-07 22:12:56 -05:00
parent 7302737005
commit 7629f9a3ff

View File

@ -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: