From: Eevee Date: Wed, 29 Jul 2009 01:31:06 +0000 (-0700) Subject: Make help message readable for people without a UTF-8 terminal. X-Git-Tag: veekun-promotions/2010050901~229 X-Git-Url: http://git.veekun.com/zzz-pokedex.git/commitdiff_plain/217d61aa29beaa5503618af52e2c17cd9e8acc1b?ds=sidebyside Make help message readable for people without a UTF-8 terminal. --- 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)