Closed smacke closed 10 months ago
If the syntax error is due to an invalid encoding, text will be None, so we give it an empty string in this case. This fixes https://github.com/python-lsp/python-lsp-server/issues/429.
text
None
Fixes #429.
If the syntax error is due to an invalid encoding,
text
will beNone
, so we give it an empty string in this case. This fixes https://github.com/python-lsp/python-lsp-server/issues/429.Fixes #429.