Skip to content

Commit

Permalink
getdefaultlocale -> getlocale
Browse files Browse the repository at this point in the history
  • Loading branch information
mscroggs committed Dec 19, 2022
1 parent adf1fd4 commit 520968f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cairosvg/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import locale

ROOT = 'http://www.w3.org/TR/SVG11/feature'
LOCALE = locale.getdefaultlocale()[0] or ''
LOCALE = locale.getlocale()[0] or ''
SUPPORTED_FEATURES = frozenset((
ROOT + '#' + feature for feature in (
'SVG',
Expand Down

0 comments on commit 520968f

Please sign in to comment.