mirror of
https://github.com/meshtastic/python.git
synced 2026-02-25 19:20:04 -05:00
appease mypy too
This commit is contained in:
@@ -678,5 +678,5 @@ def message_to_json(message: Message, multiline: bool=False) -> str:
|
||||
try:
|
||||
json = MessageToJson(message, always_print_fields_with_no_presence=True)
|
||||
except TypeError:
|
||||
json = MessageToJson(message, including_default_value_fields=True) # pylint: disable=E1123
|
||||
json = MessageToJson(message, including_default_value_fields=True) # type: ignore[call-arg] # pylint: disable=E1123
|
||||
return stripnl(json) if not multiline else json
|
||||
|
||||
Reference in New Issue
Block a user