Commit d56990b9 authored by Sli's avatar Sli

Merge branch 'fix/better_str_comparison' into 'master'

small fix to follow python recommendations

See merge request !190
parents 0f7f80e9 18f464a4
Pipeline #1690 passed with stage
in 12 minutes and 1 second
......@@ -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