Blob Blame History Raw
=== modified file 'share/dreampie/subp_main.py'
--- share/dreampie/subp_main.py	2010-05-17 22:05:39 +0000
+++ share/dreampie/subp_main.py	2011-05-27 07:20:05 +0000
@@ -27,7 +27,8 @@
 # the -S flag, and call sys.setdefaultencoding before site.py has a chance of
 # doing anything else.
 import sys
-sys.setdefaultencoding('utf-8')
+if sys.version_info[0] < 3:
+    sys.setdefaultencoding('utf-8')
 import site
 
 from os.path import abspath, join, dirname