mirror of
https://github.com/EDCD/EDDN.git
synced 2025-04-25 12:42:14 +03:00
Gateway: Make the CORS apply() static
Quietens a PyCharm warning
This commit is contained in:
parent
99679d9d5b
commit
3b3e1a91c5
@ -351,7 +351,8 @@ class EnableCors(object):
|
||||
name = 'enable_cors'
|
||||
api = 2
|
||||
|
||||
def apply(self, fn, context):
|
||||
@staticmethod
|
||||
def apply(fn, context):
|
||||
"""
|
||||
Apply CORS headers to the calling bottle app.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user