Merge pull request #1864 from bookwyrm-social/fixes-initdb

Fixes option checking in initdb management command
This commit is contained in:
Mouse Reeve 2022-01-22 15:42:56 -08:00 committed by GitHub
commit a74f907a61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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":