Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgaspar committed Jun 7, 2024
1 parent c6dfe3c commit a5a182c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superset/commands/dataset/importers/v1/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ def import_dataset(
load_data(data_uri, dataset, dataset.database)

if user := get_user():
dataset.owners.append(user)

if user not in dataset.owners:
dataset.owners.append(user)
return dataset


Expand Down

0 comments on commit a5a182c

Please sign in to comment.