Mercurial > mamba
changeset 598:0a2cc2ee16c2
Fix loading of help file. It needs to be loaded as a string since we join lines using a string.
author | Simon Cross <hodgestar@gmail.com> |
---|---|
date | Sat, 14 Jan 2023 19:04:47 +0100 |
parents | 16c690a7dc27 |
children | 03c0f1f5488c |
files | mamba/habitats/editor.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mamba/habitats/editor.py Sat Jan 14 19:00:34 2023 +0100 +++ b/mamba/habitats/editor.py Sat Jan 14 19:04:47 2023 +0100 @@ -57,7 +57,7 @@ K_RIGHT: RIGHT, K_SPACE: None, } - helpfile = load_file(HELP) + helpfile = load_file(HELP, mode="r") self.help_msg = ''.join(helpfile.readlines()) def on_enter(self):