diff options
Diffstat (limited to 'libbe/command')
-rw-r--r-- | libbe/command/base.py | 2 | ||||
-rw-r--r-- | libbe/command/html.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/libbe/command/base.py b/libbe/command/base.py index 311791f..ab98cb1 100644 --- a/libbe/command/base.py +++ b/libbe/command/base.py @@ -1,4 +1,5 @@ # Copyright (C) 2009-2011 Chris Ball <cjb@laptop.org> +# Phil Schumm <philschumm@gmail.com> # Robert Lehmann <mail@robertlehmann.de> # W. Trevor King <wking@drexel.edu> # @@ -73,6 +74,7 @@ def get_command(command_name): ... except UnknownCommand, e: ... print e Unknown command 'asdf' + (No module named asdf) >>> repr(get_command('list')).startswith("<module 'libbe.command.list' from ") True """ diff --git a/libbe/command/html.py b/libbe/command/html.py index 7420ce8..a6bd2a2 100644 --- a/libbe/command/html.py +++ b/libbe/command/html.py @@ -149,7 +149,7 @@ class HTMLGen (object): if encoding != None: self.encoding = encoding else: - self.encoding = libbe.util.encoding.get_filesystem_encoding() + self.encoding = libbe.util.encoding.get_text_file_encoding() self._load_templates(template_dir) self.min_id_length = min_id_length |