Skip to content

Commit 8fb25a0

Browse files
authored
Merge pull request #1329 from jhlegarreta/FixGettingLocale
RF: Prefer using `getlocale()` instead of `getdefaultlocale()`
2 parents d18022d + 95e7c15 commit 8fb25a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/cmdline/dicomfs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class dummy_fuse:
3737
import nibabel as nib
3838
import nibabel.dft as dft
3939

40-
encoding = locale.getdefaultlocale()[1]
40+
encoding = locale.getlocale()[1]
4141

4242
fuse.fuse_python_api = (0, 2)
4343

0 commit comments

Comments
 (0)