mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-12-04 11:05:32 +00:00
Domains should not be updated in update_accounts.py
This commit is contained in:
parent
0ef57b2f9f
commit
9632898b40
@ -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()
|
|
||||||
|
Loading…
Reference in New Issue
Block a user