bugfix: the slice page was broken when nobody is in slice
[plewww.git] / jsmin.py
index ae75814..1f2ab2b 100644 (file)
--- a/jsmin.py
+++ b/jsmin.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python\r
+#!/usr/bin/python3\r
 \r
 # This code is original from jsmin by Douglas Crockford, it was translated to\r
 # Python by Baruch Even. The original code had the following copyright and\r
@@ -30,7 +30,7 @@
 # SOFTWARE.\r
 # */\r
 \r
-from StringIO import StringIO\r
+from io import StringIO\r
 \r
 def jsmin(js):\r
     ins = StringIO(js)\r