Tools: LogAnalyzer: correct join() in GPSGlitch test

This commit is contained in:
Peter Barker 2017-12-01 10:30:56 +11:00
parent da4d3ebe2b
commit 7257fb6284

View File

@ -61,8 +61,8 @@ class TestGPSGlitch(Test):
satsMsg = ("Min satellites: %s, Max HDop: %s" %
(satsChan.min(), hdopChan.max()))
if gpsGlitchCount:
self.result.statusMessage = "\n".join(self.result.statusMessage,
satsMsg)
self.result.statusMessage = "\n".join([self.result.statusMessage,
satsMsg])
if foundBadSatsFail or foundBadHDopFail:
if not gpsGlitchCount:
self.result.status = TestResult.StatusType.FAIL