Bug fix: Correctly set the name of the attributes. PR #3940 did not seem to update in Master?

pull/4985/head
FeeshWyvern 2023-02-27 20:02:34 -08:00
parent 90333340d6
commit 94d9773548
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ def _init(self, target = None, parent = None):
else: # starts with 'm' but not iterable else: # starts with 'm' but not iterable
setattr(target, m, obj) setattr(target, name, obj)
logger.debug("Added " + name + " as self." + name + " (type: " + str(type(obj)) + ")") logger.debug("Added " + name + " as self." + name + " (type: " + str(type(obj)) + ")")
if _is_init_type(obj): if _is_init_type(obj):