1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-17 17:42:20 +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'),
'apiKey': apikey,
'fromSoftware': applongname,
'fromSoftwareVersion': appversion(),
'fromSoftwareVersion': str(appversion()),
'message': json.dumps(pending, ensure_ascii=False).encode('utf-8'),
}

View File

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