fix exporting to CSV with the name in the wrong column

This commit is contained in:
MeaTLoTioN 2021-09-04 22:05:57 +01:00
parent c463d2bcae
commit f42043069f

View File

@ -281,7 +281,7 @@ def exportLogBook() :
yourSig = str(db["logs"][LOG]["yourSig"]) yourSig = str(db["logs"][LOG]["yourSig"])
theirName = str(db["logs"][LOG]["theirName"]) theirName = str(db["logs"][LOG]["theirName"])
notes = str(db["logs"][LOG]["notes"]) notes = str(db["logs"][LOG]["notes"])
fHandle.write(LOG+","+contactCall+","+observedSig+","+yourSig+","+theirName+","+notes+"\n") fHandle.write(LOG+","+contactCall+","+theirName+" "+observedSig+","+yourSig+","+notes+"\n")
fHandle.close() fHandle.close()
menucmd('F3',tempFile) menucmd('F3',tempFile)
os.remove(tempFile) os.remove(tempFile)