mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-12-04 19:15:30 +00:00
Correcting case-sensitivity issue with zone type comparison.
This commit is contained in:
parent
a85827f302
commit
09014bf4a9
@ -66,7 +66,7 @@ def domain(domain_name):
|
||||
current_app.logger.debug("Fetched rrsets: \n{}".format(pretty_json(rrsets)))
|
||||
|
||||
# API server might be down, misconfigured
|
||||
if not rrsets and domain.type != 'slave':
|
||||
if not rrsets and str(domain.type).lower() != 'slave':
|
||||
abort(500)
|
||||
|
||||
quick_edit = Setting().get('record_quick_edit')
|
||||
|
Loading…
Reference in New Issue
Block a user