Add missing break

This commit is contained in:
Christian Mäder 2019-10-12 14:23:11 +02:00
parent 61c0a9b519
commit 5defc38294

View File

@ -53,6 +53,7 @@ with file.open('r') as stream:
for rack_face in RACK_FACE_CHOICES:
if params['face'] in rack_face:
params['face'] = rack_face[0]
break
device, created = Device.objects.get_or_create(**params)