bug fix
This commit is contained in:
@@ -2100,7 +2100,10 @@ def getsmallrowdata_db_old(columns, ids=[], doclean=True, workstrokesonly=True):
|
|||||||
def getrowdata(id=0):
|
def getrowdata(id=0):
|
||||||
|
|
||||||
# check if valid ID exists (workout exists)
|
# 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
|
f1 = row.csvfilename
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user