Merge pull request #8 from toppoint/utf8-fix

Fix utf-8 enforcing hack.
alfred-data
Nils Schneider 2013-11-23 13:03:31 -08:00
commit e0f1fa2b01
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ from d3mapbuilder import D3MapBuilder
# Force encoding to UTF-8
import locale # Ensures that subsequent open()s
locale.getpreferredencoding = lambda: 'UTF-8' # are UTF-8 encoded.
locale.getpreferredencoding = lambda _=None: 'UTF-8' # are UTF-8 encoded.
import sys
#sys.stdin = open('/dev/stdin', 'r')