diff --git a/subsites/lunchuman/lunchuman.wsgi b/subsites/lunchuman/lunchuman.wsgi index bcfe78c..8732efc 100644 --- a/subsites/lunchuman/lunchuman.wsgi +++ b/subsites/lunchuman/lunchuman.wsgi @@ -126,11 +126,11 @@ where id=? if foods_incr > 0: loclog.append('eat {} foods'.format(foods_incr)) elif foods_incr < 0: - loclog.append('uneat {} foods'.format(foods_incr)) + loclog.append('uneat {} foods'.format(-foods_incr)) if moneys_incr > 0: loclog.append('spend {} moneys'.format(moneys_incr)) elif moneys_incr < 0: - loclog.append('unspend {} moneys'.format(moneys_incr)) + loclog.append('unspend {} moneys'.format(-moneys_incr)) if loclog: log_msg.append('{} do:\n'.format(old_name) + ' ' + '\n '.join(loclog))