Skip to content

Commit b46c355

Browse files
committed
Added a better fix for ff3ccbe
1 parent ff3ccbe commit b46c355

File tree

1 file changed

+1
-4
lines changed
  • addons/source-python/packages/source-python/entities

1 file changed

+1
-4
lines changed

addons/source-python/packages/source-python/entities/classes.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -328,10 +328,7 @@ def _get_server_class(self, class_name, datamap):
328328
# Store all of the inputs as attributes
329329
# of an instance of the class
330330
instance._inputs = self(
331-
class_name + 'Inputs', (CustomType, ), instance.inputs)
332-
333-
# Remove the _manager attribute from the dictionary
334-
del instance.inputs['_manager']
331+
class_name + 'Inputs', (CustomType, ), dict(instance.inputs))
335332

336333
# Return the ServerClass
337334
return instance

0 commit comments

Comments
 (0)