diff --git a/src/eddn/Monitor.py b/src/eddn/Monitor.py index 50f8304..3cdab9f 100644 --- a/src/eddn/Monitor.py +++ b/src/eddn/Monitor.py @@ -284,7 +284,8 @@ class EnableCors(object): name = 'enable_cors' api = 2 - def apply(self, fn, context): + @staticmethod + def apply(fn, context): """ Apply a CORS handler.