We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5d572c commit 9f56fd7Copy full SHA for 9f56fd7
flask_cors/core.py
@@ -354,7 +354,7 @@ def serialize_options(opts):
354
355
for key in opts.keys():
356
if key not in DEFAULT_OPTIONS:
357
- LOG.warn("Unknown option passed to Flask-CORS: %s", key)
+ LOG.warning("Unknown option passed to Flask-CORS: %s", key)
358
359
# Ensure origins is a list of allowed origins with at least one entry.
360
options['origins'] = sanitize_regex_param(options.get('origins'))
0 commit comments