mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
typo
This commit is contained in:
parent
454742172d
commit
ef21e246eb
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ def register(app):
|
||||||
# Load initial domain block list
|
# Load initial domain block list
|
||||||
block_list = retrieve_block_list()
|
block_list = retrieve_block_list()
|
||||||
if 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))
|
db.session.add(Domain(name=domain.strip(), banned=True))
|
||||||
|
|
||||||
# Initial roles
|
# Initial roles
|
||||||
|
|
Loading…
Reference in a new issue