minor fix
This commit is contained in:
parent
b3ad96f817
commit
57efafd32d
|
@ -122,7 +122,7 @@ where id=?
|
||||||
''', (new_name, moneys_incr, foods_incr, id))
|
''', (new_name, moneys_incr, foods_incr, id))
|
||||||
loclog = []
|
loclog = []
|
||||||
if old_name != new_name:
|
if old_name != new_name:
|
||||||
loclog.append('change name to {}\n'.format(new_name))
|
loclog.append('change name to {}'.format(new_name))
|
||||||
if foods_incr > 0:
|
if foods_incr > 0:
|
||||||
loclog.append('eat {} foods'.format(foods_incr))
|
loclog.append('eat {} foods'.format(foods_incr))
|
||||||
elif foods_incr < 0:
|
elif foods_incr < 0:
|
||||||
|
|
Loading…
Reference in New Issue