Skip to content

Commit 334d574

Browse files
committed
fix flake8
1 parent ea9733c commit 334d574

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Mergin/field_filtering.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def __init__(
9292
self.layer_id = layer.id()
9393
allow_multi = layer.fields().field(field_name).editorWidgetSetup().config().get("AllowMulti", None)
9494

95-
self.field_has_multi_selection = allow_multi == True
95+
self.field_has_multi_selection = allow_multi is True
9696

9797
self.field_name = field_name
9898
self.filter_type = filter_type

0 commit comments

Comments
 (0)