Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Mucking with locale (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
chadwhitacre committed Jul 12, 2012
1 parent 34190ee commit 097b158
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gittip/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
from decimal import Decimal


locale.setlocale(locale.LC_ALL, "en_US.utf8")
try: # XXX This can't be right.
locale.setlocale(locale.LC_ALL, "en_US.utf8")
except locale.Error:
locale.setlocale(locale.LC_ALL, "en_US.UTF-8")


BIRTHDAY = datetime.date(2012, 6, 1)
Expand Down

0 comments on commit 097b158

Please sign in to comment.