Source
xxxxxxxxxx
--- gramps/gen/utils/resourcepath.py.orig 2019-02-14 23:31:55.000000000 +0100
+++ gramps/gen/utils/resourcepath.py 2019-02-14 23:34:47.000000000 +0100
try:
with open(resource_file, encoding='utf-8',
errors='strict') as fp:
- resource_path = fp.readline()
+ resource_path = fp.readline().rstrip('\n')
except UnicodeError as err:
LOG.exception("Encoding error while parsing resource path", err)
sys.exit(1)