fixes
This commit is contained in:
@@ -123,12 +123,12 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
<h2>On-line Racing</h2>
|
<h2>On-line Challenges</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<a href="/rowers/virtualevents">On-line racing</a> is a
|
<a href="/rowers/virtualevents">On-line challenges</a> are a
|
||||||
fun way to race other Rowsandall.com users
|
fun way to test your boat speed and course line against other Rowsandall.com users
|
||||||
rowing on the same stretch of water.
|
rowing on the same stretch of water or on the Concept2 ergometer.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h2>Training Plan</h2>
|
<h2>Training Plan</h2>
|
||||||
|
|||||||
@@ -1035,11 +1035,7 @@ def garmin_summaries_view(request):
|
|||||||
def garmin_newfiles_ping(request):
|
def garmin_newfiles_ping(request):
|
||||||
t = time.localtime()
|
t = time.localtime()
|
||||||
timestamp = time.strftime('%b-%d-%Y_%H%M', t)
|
timestamp = time.strftime('%b-%d-%Y_%H%M', t)
|
||||||
with open('garminlog.log','a') as f:
|
|
||||||
f.write('\n')
|
|
||||||
f.write(timestamp)
|
|
||||||
f.write(' ')
|
|
||||||
f.write(str(request.body))
|
|
||||||
|
|
||||||
if request.method != 'POST':
|
if request.method != 'POST':
|
||||||
return HttpResponse(status=200)
|
return HttpResponse(status=200)
|
||||||
@@ -1090,11 +1086,6 @@ def garmin_details_view(request):
|
|||||||
|
|
||||||
t = time.localtime()
|
t = time.localtime()
|
||||||
timestamp = time.strftime('%b-%d-%Y_%H%M', t)
|
timestamp = time.strftime('%b-%d-%Y_%H%M', t)
|
||||||
with open('garminlog.log','a') as f:
|
|
||||||
f.write('\n')
|
|
||||||
f.write(timestamp)
|
|
||||||
f.write(' ')
|
|
||||||
f.write(str(request.body))
|
|
||||||
|
|
||||||
# POST request
|
# POST request
|
||||||
data = json.loads(request.body)
|
data = json.loads(request.body)
|
||||||
|
|||||||
Reference in New Issue
Block a user