From 06e9442bea5d0e32e8f45071b518f915413d3210 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Thu, 4 Nov 2021 14:26:36 +0000 Subject: [PATCH] Monitor: Make EnableCors.apply() static --- src/eddn/Monitor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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.