|
|
@ -149,7 +149,7 @@ def addme():
|
|
|
|
for row in r:
|
|
|
|
for row in r:
|
|
|
|
results.append(dict(row))
|
|
|
|
results.append(dict(row))
|
|
|
|
|
|
|
|
|
|
|
|
if not results['is_eater']:
|
|
|
|
if not results[0]['is_eater']:
|
|
|
|
return render_template('appresponse.html', message='Have a nice meal ' + meal_id + " mister " + str(current_user.name) )
|
|
|
|
return render_template('appresponse.html', message='Have a nice meal ' + meal_id + " mister " + str(current_user.name) )
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
return render_template('appresponse.html', message='You are already a registered eater')
|
|
|
|
return render_template('appresponse.html', message='You are already a registered eater')
|
|
|
|