From 224d62104a09373ea8cf943194bad1a47dfbe4b1 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 15 Oct 2019 16:12:06 -0700 Subject: [PATCH] comment tweaks --- etg/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etg/app.py b/etg/app.py index 7dccf4b8..32276b79 100644 --- a/etg/app.py +++ b/etg/app.py @@ -514,11 +514,11 @@ def run(): self._initial_locale = None loc, enc = locale.getlocale() # Try to set it to the same language as what is already set in the C locale - info = wx.Locale.FindLanguageInfo(loc) if loc is not None else None + info = wx.Locale.FindLanguageInfo(loc) if loc else None if info: self._initial_locale = wx.Locale(info.Language) else: - # fallback to the system default + # otherwise fall back to the system default self._initial_locale = wx.Locale(wx.LANGUAGE_DEFAULT) """),