From 217d61aa29beaa5503618af52e2c17cd9e8acc1b Mon Sep 17 00:00:00 2001 From: Eevee Date: Tue, 28 Jul 2009 18:31:06 -0700 Subject: [PATCH] Make help message readable for people without a UTF-8 terminal. --- pokedex/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pokedex/__init__.py b/pokedex/__init__.py index 4a731d1..e142ae6 100644 --- a/pokedex/__init__.py +++ b/pokedex/__init__.py @@ -187,6 +187,6 @@ def command_help(): csvexport {uri} [dir] Export data from the database given by the URI to a set of CSVs. Directory defaults to cwd. -""" +""".encode(sys.getdefaultencoding(), 'replace') sys.exit(0) -- 2.7.4