Skip to content

Commit

Permalink
alala
Browse files Browse the repository at this point in the history
  • Loading branch information
InnocentBug committed Mar 12, 2024
1 parent beeb22a commit 5f02478
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/cript/nodes/node_iterator.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def _depth_first(self, node, recursion_depth: int) -> None:

field_names = [field.name for field in fields(node._json_attrs)]
for attr_name in sorted(field_names):
attr = getattr(node._json_attrs, str(attr_name.name))
attr = getattr(node._json_attrs, attr_name)
node_added = self._handle_child_node(attr, recursion_depth)
if node_added:
self._depth_first(node, recursion_depth + 1)
Expand Down
1 change: 1 addition & 0 deletions src/cript/nodes/uuid_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

from cript.nodes.core import BaseNode
from cript.nodes.exceptions import CRIPTUUIDException
from cript.nodes.node_iterator import NodeIterator


class UUIDBaseNode(BaseNode, ABC):
Expand Down

0 comments on commit 5f02478

Please sign in to comment.