diff --git a/proxy.py b/proxy.py index 7c0ac84..2222ae3 100644 --- a/proxy.py +++ b/proxy.py @@ -61,7 +61,7 @@ class ProxyType(type): @classmethod def getType(mcs,tp): - if isinstance(tp,basestring): + if isinstance(tp,str): return mcs.getInfo().TypeNameMap[tp] if not isinstance(tp,int): tp = mcs.getTypeID(tp)