From 62265fd086ce7a86e734259201b07b55af25e73f Mon Sep 17 00:00:00 2001 From: Arksine Date: Tue, 16 Mar 2021 09:13:05 -0400 Subject: [PATCH] app: fix bug in type hint conversion method Signed-off-by: Eric Callahan --- moonraker/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moonraker/app.py b/moonraker/app.py index 9674cd9..aef0bc1 100644 --- a/moonraker/app.py +++ b/moonraker/app.py @@ -275,7 +275,7 @@ class DynamicRequestHandler(AuthorizedRequestHandler): else self._default_parser # Converts query string values with type hints - def _convert_type(value, hint): + def _convert_type(self, value, hint): type_funcs = { "int": int, "float": float, "bool": lambda x: x.lower() == "true",