LumaPictures / pymel

Python in Maya Done Right
Other
478 stars 130 forks source link

Fixed a bug in pymel.core.uitypes.AELoader.load() caused by upgrading to Python 3 #469

Open SolenOchHavet opened 1 year ago

SolenOchHavet commented 1 year ago

In Python 3, the last argument for __import__() cannot be negative and thus raising an error. Since the idea is to use the default value (which was -1 in Python 2) we can do the same by simply removing the argument.