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

View File

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