diff options
Diffstat (limited to 'Mac/Modules/win/winscan.py')
-rw-r--r-- | Mac/Modules/win/winscan.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Modules/win/winscan.py b/Mac/Modules/win/winscan.py index f78935d..8d2cea9 100644 --- a/Mac/Modules/win/winscan.py +++ b/Mac/Modules/win/winscan.py @@ -14,7 +14,7 @@ def main(): scanner.scan() scanner.close() print "=== Testing definitions output code ===" - execfile(defsoutput, {}, {}) + exec(open(defsoutput).read(), {}, {}) print "=== Done scanning and generating, now importing the generated code... ===" import winsupport print "=== Done. It's up to you to compile it now! ===" |