Skip to content

Commit

Permalink
Updates as per code review
Browse files Browse the repository at this point in the history
  • Loading branch information
shaikh-ma authored Dec 12, 2024
1 parent b994da9 commit 4c66cea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scrunch/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -2424,11 +2424,11 @@ def fork(self, description=None, name=None, is_published=False,
)
else:
# Create fork in source dataset path.
body["owner"] = self.resource.body.owner
body["project"] = self.resource.body.owner
else:
if project:
# Create fork in given Project path.
body["owner"] = (
body["project"] = (
project if project.startswith("http") else get_project(project).url
)
else:
Expand Down

0 comments on commit 4c66cea

Please sign in to comment.