Commit 18f464a4 authored by Krophil's avatar Krophil

small fix to follow python recommendations

parent 0f7f80e9
Pipeline #1689 passed with stage
in 21 minutes and 24 seconds
......@@ -415,7 +415,7 @@ class OperationForm(forms.ModelForm):
and self.cleaned_data.get("club") is None
and self.cleaned_data.get("club_account") is None
and self.cleaned_data.get("company") is None
and self.cleaned_data.get("target_label") is ""
and self.cleaned_data.get("target_label") == ""
"target_type", ValidationError(_("The target must be set."))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment