Fix result of current_zone when not importing the zone
This commit is contained in:
parent
551223fcf3
commit
2ddbb56ce5
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ def main():
|
||||||
result['current_zone'] = d.current_zone.id
|
result['current_zone'] = d.current_zone.id
|
||||||
result['msg'] += " and zone imported"
|
result['msg'] += " and zone imported"
|
||||||
else:
|
else:
|
||||||
result['current_zone'] = d.current_zone
|
result['current_zone'] = d.current_zone.id
|
||||||
break
|
break
|
||||||
|
|
||||||
if not found:
|
if not found:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue