Fix indentation
This commit is contained in:
parent
275e1850c6
commit
95d2ae420e
1 changed files with 2 additions and 1 deletions
|
@ -81,7 +81,7 @@ def get_netbox_instance():
|
|||
if config.netbox.url is None or config.netbox.token is None:
|
||||
logging.error('Netbox URL and token are mandatory')
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
nb = pynetbox.api(
|
||||
url=get_config().netbox.url,
|
||||
token=get_config().netbox.token,
|
||||
|
@ -94,5 +94,6 @@ def get_netbox_instance():
|
|||
|
||||
return nb
|
||||
|
||||
|
||||
config = get_config()
|
||||
netbox_instance = get_netbox_instance()
|
||||
|
|
Loading…
Reference in a new issue