Permalink
Browse files

Fix SConstruct on Python 3 (#513)

  • Loading branch information...
wolfy1339 authored and jacob1 committed Oct 7, 2017
1 parent 97c4123 commit c0bb5882b4b21b7bfd59735526f31eb7baaa65e8
Showing with 6 additions and 0 deletions.
  1. +6 −0 SConstruct
@@ -1,4 +1,10 @@
import sys
#run generator.py
if sys.version_info[0] >= 3:
def execfile(path):
with open(path, 'r') as f:
exec(f.read())
if not GetOption('clean'):
execfile("generator.py")

0 comments on commit c0bb588

Please sign in to comment.