# HG changeset patch # User Simon Cross # Date 1673719487 -3600 # Node ID 0a2cc2ee16c24aff5058bc9956f9c04d9eedf275 # Parent 16c690a7dc27926c95bae962a071f2c71aaa7ad4 Fix loading of help file. It needs to be loaded as a string since we join lines using a string. diff -r 16c690a7dc27 -r 0a2cc2ee16c2 mamba/habitats/editor.py --- 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):