Skip to content

Commit

Permalink
Updated logging.warn to logging.warning (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaibhav authored and corydolphin committed Oct 8, 2018
1 parent c5d572c commit 9f56fd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_cors/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ def serialize_options(opts):

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

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

0 comments on commit 9f56fd7

Please sign in to comment.