This commit is contained in:
Joseph Kennedy 2017-08-26 23:33:38 -04:00
parent 8271c9383c
commit 01301777c8

View File

@ -1607,7 +1607,7 @@ class InterfaceCSVForm(forms.ModelForm):
device=device_id, form_factor=IFACE_FF_LAG).get(
lag=lag_name.id
)
if not self.lag:
if not self.data('lag'):
return None
return lag