diff --git a/bookwyrm/management/commands/initdb.py b/bookwyrm/management/commands/initdb.py index 37dd66af4..b54055744 100644 --- a/bookwyrm/management/commands/initdb.py +++ b/bookwyrm/management/commands/initdb.py @@ -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":