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:
parent
b0bda6e982
commit
d585dd9233
@ -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'),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user