Skip to content

Commit

Permalink
Fix locale set
Browse files Browse the repository at this point in the history
  • Loading branch information
stefraynaud committed May 3, 2017
1 parent a2eb4a1 commit aceeeb1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/python/vacumm/data/model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@
# import mars
import os as _os, locale as _locale
_os.environ['LC_NUMERIC'] = 'en_US.UTF-8'
_locale.setlocale(_locale.LC_NUMERIC, 'en_US.UTF-8')
try:
_locale.setlocale(_locale.LC_NUMERIC, 'en_US.UTF-8')
except:
pass

import cfsr
import globcurrent
Expand Down

0 comments on commit aceeeb1

Please sign in to comment.