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)