diff --git a/lattice2Subsequencer.py b/lattice2Subsequencer.py index e4fbc61..95f1a06 100644 --- a/lattice2Subsequencer.py +++ b/lattice2Subsequencer.py @@ -49,6 +49,9 @@ class SubsequencingError_LinkValue(SubsequencingError): # ----------------------------------------------- # ---------------------------------------------- +if not hasattr(__builtins__, "basestring"): + basestring = str #Py3 compatibility + class HashableShape(object): "Decorator for Part.Shape, that can be used as key in dicts. Based on isSame method." def __init__(self, shape):