[chronojump] Improvement on last commit



commit 749583666692b37d2dffdbdd617568b245a5aa75
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Nov 9 13:01:31 2015 +0100

    Improvement on last commit

 src/encoderRProc.cs |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)
---
diff --git a/src/encoderRProc.cs b/src/encoderRProc.cs
index 1e9f75b..93f5a91 100644
--- a/src/encoderRProc.cs
+++ b/src/encoderRProc.cs
@@ -407,12 +407,16 @@ public class EncoderRProcAnalyze : EncoderRProc
                deleteFile(outputFileCheck);
                if(outputFileCheck2 != "")
                        deleteFile(outputFileCheck2);
+               
+               //delete status-5 mark used on export csv
+               if(es.Ep.Analysis == "exportCSV")
+                       Util.FileDelete(UtilEncoder.GetEncoderStatusTempBaseFileName() + "5.txt");
 
-                       
                //delete 1RM data if exists
                if (File.Exists(es.SpecialData))
                        File.Delete(es.SpecialData);
 
+
                try {   
                        p = new Process();
                        p.StartInfo = pinfo;
@@ -474,6 +478,16 @@ public class EncoderRProcAnalyze : EncoderRProc
                deleteFile(outputFileCheck);
                if(outputFileCheck2 != "")
                        deleteFile(outputFileCheck2);
+               
+               //delete status-5 mark used on export csv
+               if(es.Ep.Analysis == "exportCSV")
+                       Util.FileDelete(UtilEncoder.GetEncoderStatusTempBaseFileName() + "5.txt");
+               
+               //delete 1RM data if exists
+               if (File.Exists(es.SpecialData))
+                       File.Delete(es.SpecialData);
+
+
 
                LogB.Debug("sending continue process");
                //try/catch because sometimes the stdin write gots broken


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]