Fixes option checking in initdb management command

This commit is contained in:
Mouse Reeve 2022-01-22 15:09:30 -08:00
parent b35efb6eab
commit 67c3091aa1
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ class Command(BaseCommand):
"settings",
"linkdomain",
]
if limit not in tables:
if limit and limit not in tables:
raise Exception("Invalid table limit:", limit)
if not limit or limit == "group":