Commit ccf02f8373fd09789d0916ae75a1795b9a24e8e7

Authored by Paulo Henrique Junqueira Amorim
1 parent c6026466
Exists in master

FIX: Fixed problem 'Failed to execute script app #130'

Showing 1 changed file with 8 additions and 6 deletions   Show diff stats
app.py
... ... @@ -193,12 +193,14 @@ class Inv3SplashScreen(SplashScreen):
193 193 # Only after language was defined, splash screen will be
194 194 # shown
195 195 if lang:
196   - # print "LANG", lang, _, wx.Locale(), wx.GetLocale()
197   - import locale
198   - try:
199   - locale.setlocale(locale.LC_ALL, '')
200   - except locale.Error:
201   - pass
  196 +
  197 + #import locale
  198 + #try:
  199 + # locale.setlocale(locale.LC_ALL, '')
  200 + #except locale.Error:
  201 + # pass
  202 +
  203 +
202 204 # For pt_BR, splash_pt.png should be used
203 205 if (lang.startswith('pt')):
204 206 icon_file = "splash_pt.png"
... ...