summaryrefslogtreecommitdiffstatshomepage
path: root/tools/make-frozen.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/make-frozen.py')
-rwxr-xr-xtools/make-frozen.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/make-frozen.py b/tools/make-frozen.py
index 340a788617..912c01ea53 100755
--- a/tools/make-frozen.py
+++ b/tools/make-frozen.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/env python
#
# Create frozen modules structure for MicroPython.
#
@@ -17,6 +17,7 @@
# Include frozen.c in your build, having defined MICROPY_MODULE_FROZEN in
# config.
#
+from __future__ import print_function
import sys
import os