summaryrefslogtreecommitdiff
path: root/bubbob/command.py
diff options
context:
space:
mode:
Diffstat (limited to 'bubbob/command.py')
-rw-r--r--bubbob/command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bubbob/command.py b/bubbob/command.py
index 71239ed..a438e23 100644
--- a/bubbob/command.py
+++ b/bubbob/command.py
@@ -7,4 +7,4 @@ for ext in ['.py', '.bin']:
break
sys.argv[1] = levelfile
-execfile('bb.py')
+exec(compile(open('bb.py', "rb").read(), 'bb.py', 'exec'))