From d82a4d854a6a02e5da31774de81d995ed2d94acc Mon Sep 17 00:00:00 2001 From: Diana Chang Date: Thu, 31 Dec 2015 23:39:51 -0500 Subject: [PATCH] Changed unicode to str as Python3 does not use unicode --- py-src/ltmain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py-src/ltmain.py b/py-src/ltmain.py index e07f173..b8cdf07 100644 --- a/py-src/ltmain.py +++ b/py-src/ltmain.py @@ -47,7 +47,7 @@ def asUnicode(s): return str(s) def ensureUtf(s): - if type(s) == unicode: + if type(s) == str: return s.encode('utf8', 'ignore') else: return str(s)