Skip to content

Commit 9f56fd7

Browse files
Vaibhavcorydolphin
authored andcommitted
Updated logging.warn to logging.warning (#234)
1 parent c5d572c commit 9f56fd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flask_cors/core.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ def serialize_options(opts):
354354

355355
for key in opts.keys():
356356
if key not in DEFAULT_OPTIONS:
357-
LOG.warn("Unknown option passed to Flask-CORS: %s", key)
357+
LOG.warning("Unknown option passed to Flask-CORS: %s", key)
358358

359359
# Ensure origins is a list of allowed origins with at least one entry.
360360
options['origins'] = sanitize_regex_param(options.get('origins'))

0 commit comments

Comments
 (0)