diff --git a/rowers/tasks.py b/rowers/tasks.py index e40aa000..f17fb216 100644 --- a/rowers/tasks.py +++ b/rowers/tasks.py @@ -493,7 +493,17 @@ def handle_otwsetpower(self,f1, boattype, weightvalue, def handle_updateergcp(rower_id,workoutfilenames,debug=False,**kwargs): therows = [] for f1 in workoutfilenames: - rowdata = rdata(f1) + try: + rowdata = rdata(f1) + except IOError: + try: + rowdata = rdata(f1 + '.csv') + except IOError: + try: + rowdata = rdata(f1 + '.gz') + except IOError: + rowdata = 0 + if rowdata != 0: therows.append(rowdata) diff --git a/rowers/templates/.#oterankings.html b/rowers/templates/.#oterankings.html deleted file mode 100644 index 0075ef80..00000000 --- a/rowers/templates/.#oterankings.html +++ /dev/null @@ -1 +0,0 @@ -E408191@CZ27LT9RCGN72.63064:1514927368 \ No newline at end of file