EDDN: Convert appversion_nobuild() to str

Without this the JSON serialisation later on barfs on it.
This commit is contained in:
Athanasius committed 2021-04-01 14:46:43 +01:00
1 parent be740d0bcd
commit b0bda6e982
1 file changed
+1 -1
+1 -1
View File
@@ -164,7 +164,7 @@ class EDDN:
('$schemaRef', msg['$schemaRef']),
('header', OrderedDict([
('softwareName', f'{applongname} [{system() if sys.platform != "darwin" else "Mac OS"}]'),
('softwareVersion', appversion_nobuild()),
('softwareVersion', str(appversion_nobuild())),
('uploaderID', uploader_id),
])),
('message', msg['message']),