Fixed upload_crash_details() under Linux
This commit is contained in:
parent
2583358963
commit
187421a291
1 changed files with 3 additions and 0 deletions
|
|
@ -644,6 +644,9 @@ def upload_crash_details():
|
||||||
with open(global_vars['LogFile']) as f:
|
with open(global_vars['LogFile']) as f:
|
||||||
certificate_authority = r'{}\{}'.format(
|
certificate_authority = r'{}\{}'.format(
|
||||||
global_vars['BinDir'], ROOT_CA_NAME)
|
global_vars['BinDir'], ROOT_CA_NAME)
|
||||||
|
if psutil.LINUX:
|
||||||
|
# Use system certificates
|
||||||
|
certificate_authority = True
|
||||||
data = '{}\n'.format(f.read())
|
data = '{}\n'.format(f.read())
|
||||||
data += '#############################\n'
|
data += '#############################\n'
|
||||||
data += 'Runtime Details:\n\n'
|
data += 'Runtime Details:\n\n'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue