Domains should not be updated in update_accounts.py

This commit is contained in:
Nick Douma 2020-08-06 15:40:11 +02:00
parent 0ef57b2f9f
commit 9632898b40

View File

@ -15,7 +15,6 @@ import logging
from powerdnsadmin import create_app from powerdnsadmin import create_app
from powerdnsadmin.models.account import Account from powerdnsadmin.models.account import Account
from powerdnsadmin.models.domain import Domain
from powerdnsadmin.models.setting import Setting from powerdnsadmin.models.setting import Setting
app = create_app() app = create_app()
@ -30,4 +29,3 @@ with app.app_context():
sys.exit(1) sys.exit(1)
Account().update() Account().update()
Domain().update()