[chronojump] Fixed returning false if sprint export problem on including images



commit 991598f43d6023fa5f6f73f460c482e6073d060a
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Dec 20 12:20:10 2021 +0100

    Fixed returning false if sprint export problem on including images

 src/exportFiles/sprint.cs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/exportFiles/sprint.cs b/src/exportFiles/sprint.cs
index c774d3645..60403d273 100644
--- a/src/exportFiles/sprint.cs
+++ b/src/exportFiles/sprint.cs
@@ -178,7 +178,8 @@ public class SprintExport : ExportFiles
                        return false;
 
                if(includeImages && ! copyImages(getTempGraphsDir(), exportURL,
-                                       "chronojump_races_sprint_export_graphs"));
+                                       "chronojump_races_sprint_export_graphs"))
+                       return false;
 
                // copy the CSV
                //if includeImages, exportURL is a dir, so need a filename to have File.Copy on all systems


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