mirror of
https://github.com/TomHarte/CLK.git
synced 2024-09-08 18:55:14 +00:00
Merge pull request #639 from InvisibleUp/master
Allow for scons to run on Python 3
This commit is contained in:
commit
b96972a4b9
@ -1,7 +1,8 @@
|
|||||||
import glob
|
import glob
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
# establish UTF-8 encoding
|
# establish UTF-8 encoding for Python 2
|
||||||
|
if sys.version_info < (3, 0):
|
||||||
reload(sys)
|
reload(sys)
|
||||||
sys.setdefaultencoding('utf-8')
|
sys.setdefaultencoding('utf-8')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user