Skip to content

Commit

Permalink
Nice preset now sets LANG env.
Browse files Browse the repository at this point in the history
  • Loading branch information
idlesign committed Jul 26, 2017
1 parent 4671a04 commit 25a4ee7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions uwsgiconf/presets/nice.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ def __init__(self, name=None, touch_reload=None, workers=None, threads=None, mul
"""
super(Section, self).__init__(strict_config=True, name=name, **kwargs)

# Fix possible problems with non-ASCII.
self.env('LANG', 'en_US.UTF-8')

if touch_reload:
self.main_process.set_basic_params(touch_reload=touch_reload)

Expand Down

0 comments on commit 25a4ee7

Please sign in to comment.