Fix: fix 2 comments (only)

This commit is contained in:
Stanislav Bolshakov 2020-06-28 02:44:35 +03:00 committed by prculley
parent d55775edd7
commit 17a136d2d8

View File

@ -76,7 +76,7 @@ _ = glocale.translation.gettext
try: try:
# On Darwin sys.getdefaultencoding() is correct, on Win32 it's # 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(): if mac():
_encoding = sys.getdefaultencoding() _encoding = sys.getdefaultencoding()
else: else:
@ -483,7 +483,7 @@ def run():
LOG.debug("A GUI is needed, set it up") LOG.debug("A GUI is needed, set it up")
try: try:
from .gui.grampsgui import startgramps 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: except RuntimeError as msg:
error += [(_("Configuration error:"), str(msg))] error += [(_("Configuration error:"), str(msg))]
return error return error