Added newline and breaks.
This commit is contained in:
parent
821d6c8672
commit
4e1ac2392d
5 changed files with 5 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue