From 17a136d2d866f39e8b02694830c14737f12c1b4b Mon Sep 17 00:00:00 2001 From: Stanislav Bolshakov Date: Sun, 28 Jun 2020 02:44:35 +0300 Subject: [PATCH] Fix: fix 2 comments (only) --- gramps/grampsapp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps/grampsapp.py b/gramps/grampsapp.py index 2f0dac5a5..79daa36b1 100644 --- a/gramps/grampsapp.py +++ b/gramps/grampsapp.py @@ -76,7 +76,7 @@ _ = glocale.translation.gettext try: # On Darwin sys.getdefaultencoding() is correct, on Win32 it's - # sys.stdout.enoding, and on Linux they're both right. + # sys.stdout.encoding, and on Linux they're both right. if mac(): _encoding = sys.getdefaultencoding() else: @@ -483,7 +483,7 @@ def run(): LOG.debug("A GUI is needed, set it up") try: from .gui.grampsgui import startgramps - # no DISPLAY is a RuntimeError in an older pygtk (e.g. F14's 2.17) + # no DISPLAY is a RuntimeError in an older pygtk (e.g. 2.17 in Fedora 14) except RuntimeError as msg: error += [(_("Configuration error:"), str(msg))] return error