mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
Make zerver/lib/actions.py pass mypy check.
This commit is contained in:
@@ -786,7 +786,7 @@ def extract_recipients(s):
|
||||
data = s
|
||||
|
||||
if isinstance(data, six.string_types):
|
||||
data = data.split(',')
|
||||
data = data.split(',') # type: ignore # https://github.com/python/typeshed/pull/138
|
||||
|
||||
if not isinstance(data, list):
|
||||
raise ValueError("Invalid data type for recipients")
|
||||
|
||||
Reference in New Issue
Block a user