Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
LongbinLai committed Nov 20, 2024
1 parent cbb20cb commit 11a4e93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/graphy/graph/nodes/paper_reading_nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ def execute(
paper_data = self.persist_store.get_state(data_id, first_node_name)
edges = self.persist_store.get_state(data_id, "_Edges")
curr_id = paper_data.get("data", {}).get("id", "")
if curr_id:
if curr_id and parent_id:
if edges:
edges.append(f"{parent_id}|{curr_id}")
else:
Expand Down

0 comments on commit 11a4e93

Please sign in to comment.