From ccf02f8373fd09789d0916ae75a1795b9a24e8e7 Mon Sep 17 00:00:00 2001 From: Paulo Henrique Junqueira Amorim Date: Mon, 8 Oct 2018 11:14:19 -0300 Subject: [PATCH] FIX: Fixed problem 'Failed to execute script app #130' --- app.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/app.py b/app.py index 2942f04..1ec2c91 100644 --- a/app.py +++ b/app.py @@ -193,12 +193,14 @@ class Inv3SplashScreen(SplashScreen): # Only after language was defined, splash screen will be # shown if lang: - # print "LANG", lang, _, wx.Locale(), wx.GetLocale() - import locale - try: - locale.setlocale(locale.LC_ALL, '') - except locale.Error: - pass + + #import locale + #try: + # locale.setlocale(locale.LC_ALL, '') + #except locale.Error: + # pass + + # For pt_BR, splash_pt.png should be used if (lang.startswith('pt')): icon_file = "splash_pt.png" -- libgit2 0.21.2