mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-23 10:01:04 +00:00
Merge pull request #1864 from bookwyrm-social/fixes-initdb
Fixes option checking in initdb management command
This commit is contained in:
commit
a74f907a61
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