Skip to content

Commit 841cfaf

Browse files
authored
Fix explore
1 parent f946a6c commit 841cfaf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scratchclient/Project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def __init__(self, data, client):
2828
self.favorite_count = data["stats"]["favorites"]
2929
self.remix_count = data["stats"]["remixes"]
3030

31-
self.parent = data["remix"]["parent"]
31+
self.parent = data["remix"].get("parent")
3232
self.root = data["remix"]["root"]
3333
self.is_remix = bool(self.parent)
3434

0 commit comments

Comments
 (0)