From 9ca2f4fc26726b85853cae6fb865c95a8a9a75c4 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Sat, 28 Jan 2017 19:19:24 +0100 Subject: [PATCH 1/2] don't know --- rowers/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rowers/views.py b/rowers/views.py index 2fa5a15b..20c1ea37 100644 --- a/rowers/views.py +++ b/rowers/views.py @@ -3799,6 +3799,7 @@ def workout_upload_view(request,message=""): # Some people try to upload Concept2 logbook summaries if fileformat == 'c2log': + os.remove(f2) message = "This C2 logbook summary does not contain stroke data. Please download the Export Stroke Data file from the workout details on the C2 logbook." url = reverse(workout_upload_view, args=[str(message)]) @@ -3807,6 +3808,7 @@ def workout_upload_view(request,message=""): # Some people try to upload RowPro summary logs if fileformat == 'rowprolog': + os.remove(f2) message = "This RowPro logbook summary does not contain stroke data. Please use the Stroke Data CSV file for the individual workout in your log." url = reverse(workout_upload_view, args=[str(message)]) From 35742a7cd0c07be89b9c1249256508fedf142702 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Sat, 28 Jan 2017 20:48:54 +0100 Subject: [PATCH 2/2] Added button to BitBucket Issue to 500 page --- rowers/templates/500.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rowers/templates/500.html b/rowers/templates/500.html index a64a6d92..d64e7bf2 100644 --- a/rowers/templates/500.html +++ b/rowers/templates/500.html @@ -11,6 +11,13 @@

The site reported an internal server error. If this behavior repeats, please inform us by using the contact form at the bottom of this page. This allows us to improve the site's behaviour.

+ +

+ You can also report an issue on the Rowsandall Bitbucket issue list: +

+ {% endblock %}