diff --git a/openflexure_microscope/api/v1.py b/openflexure_microscope/api/v1.py index 758e60c7..c403894a 100644 --- a/openflexure_microscope/api/v1.py +++ b/openflexure_microscope/api/v1.py @@ -97,14 +97,14 @@ def index(): class MicroscopeView(MethodView): - def __init__(self, microscope): + def __init__(self, microscope, **kwargs): """ Create a generic MethodView with a globally available microscope object passed as an argument. """ self.microscope = microscope - MethodView.__init__(self) + MethodView.__init__(self, **kwargs) class StreamAPI(MicroscopeView):