X-Git-Url: http://git.veekun.com/zzz-pokedex.git/blobdiff_plain/c9893e996c9b2a857491eb403834b900e9ab3df1..d1a237e3f0504c2d2b7a3b357f7a114de1290350:/pokedex/__init__.py diff --git a/pokedex/__init__.py b/pokedex/__init__.py index ccffaf2..6a4ab95 100644 --- a/pokedex/__init__.py +++ b/pokedex/__init__.py @@ -15,7 +15,7 @@ def main(): # XXX there must be a better way to get Unicode argv # XXX this doesn't work on Windows durp - enc = sys.stdin.encoding + enc = sys.stdin.encoding or 'utf8' args = [_.decode(enc) for _ in args] # Find the command as a function in this file