From 520968ffe93ce8ac3122c77cbe449ea4aeb07113 Mon Sep 17 00:00:00 2001 From: Matthew Scroggs Date: Mon, 19 Dec 2022 16:13:57 +0000 Subject: [PATCH] getdefaultlocale -> getlocale --- cairosvg/features.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cairosvg/features.py b/cairosvg/features.py index 199a1a0e..b47dacf3 100644 --- a/cairosvg/features.py +++ b/cairosvg/features.py @@ -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',