mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2026-03-05 02:56:40 +00:00
Added newline and breaks.
This commit is contained in:
@@ -42,6 +42,7 @@ with file.open('r') as stream:
|
||||
for prefix_status in PREFIX_STATUS_CHOICES:
|
||||
if params['status'] in prefix_status:
|
||||
params['status'] = prefix_status[0]
|
||||
break
|
||||
|
||||
prefix, created = Prefix.objects.get_or_create(**params)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user