Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2020-05-23 14:20:40 +02:00
parent 75ee1fd3ef
commit 66052d40c5

View File

@@ -2100,7 +2100,10 @@ def getsmallrowdata_db_old(columns, ids=[], doclean=True, workstrokesonly=True):
def getrowdata(id=0):
# check if valid ID exists (workout exists)
row = Workout.objects.get(id=id)
try:
row = Workout.objects.get(id=id)
except Workout.DoesNotExist:
return rrdata(),None
f1 = row.csvfilename