tools/make-frozen.py: Add Python2 compatibility.

This commit is contained in:
Paul Sokolovsky 2015-07-06 14:09:16 +03:00
parent 7e66b859b2
commit 3a2e9f20f6
1 changed files with 2 additions and 1 deletions

View File

@ -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