Skip to content

Commit

Permalink
Remove setlocale() when display web page.
Browse files Browse the repository at this point in the history
  • Loading branch information
killing committed Feb 4, 2015
1 parent 6641864 commit 94b1a78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wsgidav/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ def byteNumberString(number, thousandsSep=True, partition=False, base1024=True,
bytesuffix = " Bytes"

if thousandsSep and (number >= 1000 or magsuffix):
locale.setlocale(locale.LC_ALL, "")
# locale.setlocale(locale.LC_ALL, "")
# TODO: make precision configurable
snum = locale.format("%d", number, thousandsSep)
else:
Expand Down

0 comments on commit 94b1a78

Please sign in to comment.