X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=client%2FGoodFETMCPCANCommunication.py;h=169e02a02985dbd9e71bc905530debdc623028ca;hp=3ab84b2f76531b61d753c3454019353140c35401;hb=a1eecd9300fc8c342e5908e81d2468e47698a31b;hpb=2fb2a0972f04bc68e6314fa436620bc15a88d42a diff --git a/client/GoodFETMCPCANCommunication.py b/client/GoodFETMCPCANCommunication.py index 3ab84b2..169e02a 100644 --- a/client/GoodFETMCPCANCommunication.py +++ b/client/GoodFETMCPCANCommunication.py @@ -451,7 +451,7 @@ class GoodFETMCPCANCommunication: outfile = open(filename,'a'); dataWriter = csv.writer(outfile,delimiter=','); dataWriter.writerow(['# Time Error Bytes 1-13']); - dataWriter.writerow(['#' + "rtr sweep from " + lowID + " to" + highID]) + dataWriter.writerow(['#' + "rtr sweep from %d to %d"%(lowID,highID)]) print "started" #self.client.serInit() #self.spitSetup(freq) @@ -511,7 +511,6 @@ class GoodFETMCPCANCommunication: while( (time.time()-starttime) < duration): packet=self.client.rxpacket(); row = [] - row = [] row.append("%f"%time.time()) #timestamp row.append(0) #error flag (not checking) row.append("rtrRequest_%d"%i) #comment