Skip to content

Commit

Permalink
Merge pull request #513 from rackerlabs/fix-nautobot
Browse files Browse the repository at this point in the history
fix(nautobot): fix bad param
  • Loading branch information
cardoe authored Nov 22, 2024
2 parents fa287df + 6a21d8b commit 5fefc07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/nautobot/dexauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
from django.contrib.auth.models import Group


def _env_list(field: str, default: str) -> list[str]:
data = os.getenv(field, default)
def _env_list(field: str) -> list[str]:
data = os.getenv(field)
if not data:
return []
if not isinstance(data, str):
Expand Down

0 comments on commit 5fefc07

Please sign in to comment.