1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-05-31 23:59:38 +03:00

Also str() appversion in EDSM and Inara plugins

This commit is contained in:
Athanasius 2021-03-29 16:35:41 +01:00
parent b0bda6e982
commit d585dd9233
2 changed files with 2 additions and 2 deletions

View File

@ -573,7 +573,7 @@ def worker() -> None:
'commanderName': username.encode('utf-8'), 'commanderName': username.encode('utf-8'),
'apiKey': apikey, 'apiKey': apikey,
'fromSoftware': applongname, 'fromSoftware': applongname,
'fromSoftwareVersion': appversion(), 'fromSoftwareVersion': str(appversion()),
'message': json.dumps(pending, ensure_ascii=False).encode('utf-8'), 'message': json.dumps(pending, ensure_ascii=False).encode('utf-8'),
} }

View File

@ -1222,7 +1222,7 @@ def new_worker():
data = { data = {
'header': { 'header': {
'appName': applongname, 'appName': applongname,
'appVersion': appversion(), 'appVersion': str(appversion()),
'APIkey': creds.api_key, 'APIkey': creds.api_key,
'commanderName': creds.cmdr, 'commanderName': creds.cmdr,
'commanderFrontierID': creds.fid 'commanderFrontierID': creds.fid