Merge branch 'release/error500'
This commit is contained in:
@@ -11,6 +11,13 @@
|
||||
<p>
|
||||
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.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
You can also report an issue on the Rowsandall Bitbucket issue list:
|
||||
</p>
|
||||
<div class="grid_2 alpha">
|
||||
<a class="button red small" href="https://bitbucket.org/sanderroosendaal/rowsandall/issues/new">Report an issue</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
@@ -3799,6 +3799,7 @@ def workout_upload_view(request,message=""):
|
||||
os.remove(f_to_be_deleted)
|
||||
|
||||
# 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,
|
||||
@@ -3807,6 +3808,7 @@ def workout_upload_view(request,message=""):
|
||||
return response
|
||||
|
||||
# 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,
|
||||
|
||||
Reference in New Issue
Block a user