Skip to content

Commit

Permalink
dont set setting if missing server
Browse files Browse the repository at this point in the history
  • Loading branch information
AddisonDunn committed Aug 16, 2024
1 parent 9451650 commit 9e1785c
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ def _move_ff_to_setting(apps, schema_editor):
server = TableauServer.objects.get(domain=domain)
except TableauServer.DoesNotExist:
pass
server.get_reports_using_role = True
server.save()
else:
server.get_reports_using_role = True
server.save()


def noop(*args, **kwargs):
Expand Down

0 comments on commit 9e1785c

Please sign in to comment.