@@ -109,7 +109,7 @@ def get_next_job(db,repeat=False,repkw=None,repnum=None):
if repeat:
result['kw']=repkw
- result['repnum']=repnum
+ result['num']=repnum
cursor = db.query('select lat,lon,loc from lat_lon_loc where num ="'+str(result['num'])+'"')
for c in cursor: