now seems to behave
This commit is contained in:
@@ -13,10 +13,9 @@ from rq.job import Job
|
||||
def download_fit(request,filename=''):
|
||||
r = getrower(request.user)
|
||||
|
||||
|
||||
|
||||
pss = PlannedSession.objects.filter(fitfile=filename)
|
||||
print(filename,pss)
|
||||
|
||||
|
||||
if len(pss) != 1:
|
||||
raise Http404("Could not find the required file")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user