Fix "TypeError: TypeError: write() argument 1 must be unicode" when generating project on Windows/Python 2

This commit is contained in:
Ivan Kravets
2020-02-12 15:14:58 +02:00
parent 0bc872eafd
commit d0a6861369
4 changed files with 18 additions and 8 deletions

View File

@@ -265,7 +265,7 @@ class GDBClient(BaseProcess): # pylint: disable=too-many-instance-attributes
telemetry.encode_run_environment(self.env_options),
last_erros,
)
telemetry.send_exception("DebugInitError: %s" % err, is_fatal=True)
telemetry.send_exception("DebugInitError: %s" % err)
self.transport.loseConnection()
def _kill_previous_session(self):