From ef21e246ebe1403de726d598fd66fb107fbeac3c Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Wed, 3 Jan 2024 22:45:23 +1300 Subject: [PATCH] typo --- app/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/cli.py b/app/cli.py index 2d1ca73f..257d4724 100644 --- a/app/cli.py +++ b/app/cli.py @@ -88,7 +88,7 @@ def register(app): # Load initial domain block list block_list = retrieve_block_list() if block_list: - for domain in block_list.split(): + for domain in block_list.split('\n'): db.session.add(Domain(name=domain.strip(), banned=True)) # Initial roles