Skip to content

Commit 6424a66

Browse files
No need to create a list
Co-authored-by: David Salvisberg <david.salvisberg@seantis.ch>
1 parent d7db252 commit 6424a66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/onegov/form/fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ def __init__(
540540
widget=upload_widget,
541541
render_kw=render_kw,
542542
allowed_mimetypes=allowed_mimetypes,
543-
validators=[*(validators or ())],
543+
validators=validators, # type: ignore[arg-type]
544544
**extra_arguments
545545
)
546546
super().__init__(

0 commit comments

Comments
 (0)