Skip to content

Commit

Permalink
Fix variable conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
jjnesbitt committed Dec 8, 2022
1 parent 52a8061 commit 9848539
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dandiapi/api/management/commands/create_dev_dandiset.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@

@click.command()
@click.option('--name', default='Development Dandiset')
@click.option('--owner', required=True, help='The email address of the owner')
def create_dev_dandiset(name: str, owner: str):
owner = User.objects.get(email=owner)
@click.option('--owner', 'email', required=True, help='The email address of the owner')
def create_dev_dandiset(name: str, email: str):
owner = User.objects.get(email=email)

version_metadata = {
'description': 'An informative description',
Expand Down

0 comments on commit 9848539

Please sign in to comment.