Skip to content

Commit 3a2e9f2

Browse files
committed
tools/make-frozen.py: Add Python2 compatibility.
1 parent 7e66b85 commit 3a2e9f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/make-frozen.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python3
1+
#!/usr/bin/env python
22
#
33
# Create frozen modules structure for MicroPython.
44
#
@@ -17,6 +17,7 @@
1717
# Include frozen.c in your build, having defined MICROPY_MODULE_FROZEN in
1818
# config.
1919
#
20+
from __future__ import print_function
2021
import sys
2122
import os
2223

0 commit comments

Comments
 (0)