Skip to content

Commit

Permalink
update jsmin.py with python3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
dgarciabriseno committed Feb 22, 2022
1 parent aa9fdfc commit 6f05567
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/build/jsmin/jsmin.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python2
#!/usr/bin/python3

# This code is original from jsmin by Douglas Crockford, it was translated to
# Python by Baruch Even. The original code had the following copyright and
Expand Down Expand Up @@ -30,7 +30,7 @@
# SOFTWARE.
# */

from StringIO import StringIO
from io import StringIO

def jsmin(js):
ins = StringIO(js)
Expand Down

0 comments on commit 6f05567

Please sign in to comment.