From 30ad6bef110c90e6954be41e94cf7fd34961c106 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Fri, 28 Feb 2020 15:26:13 +0100 Subject: [PATCH] quick fix tasks --- rowers/tasks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rowers/tasks.py b/rowers/tasks.py index a0d9986e..c30a7f19 100644 --- a/rowers/tasks.py +++ b/rowers/tasks.py @@ -625,6 +625,8 @@ def handle_calctrimp(id, csvfile = csvfilename+'.csv' elif os.path.exists(csvfilename+'.gz'): csvfile = csvfilename+'.gz' + else: + return 0 csvfile = os.path.abspath(csvfile)