Skip to content

Commit

Permalink
Merge pull request #372 from mscroggs/mscroggs/python-311-deprecation…
Browse files Browse the repository at this point in the history
…-warning

getdefaultlocale -> getlocale
  • Loading branch information
liZe authored Dec 27, 2022
2 parents adf1fd4 + 9f501df commit c25a7bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version:
- "3.6"
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
steps:
- uses: actions/checkout@v2
with:
Expand Down
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 c25a7bf

Please sign in to comment.