mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-23 10:01:04 +00:00
Fixes option checking in initdb management command
This commit is contained in:
parent
b35efb6eab
commit
67c3091aa1
1 changed files with 1 additions and 1 deletions
|
@ -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":
|
||||||
|
|
Loading…
Reference in a new issue