fixed variable name
This commit is contained in:
parent
2e19b65349
commit
618939e6b2
|
|
@ -17,7 +17,7 @@ def feedKitty():
|
|||
kittyname = request.args.get('kitty')
|
||||
try:
|
||||
amount_default_value = 1
|
||||
limit = int(request.args.get('amount'))
|
||||
amount = int(request.args.get('amount'))
|
||||
except ValueError:
|
||||
amount = amount_default_value
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue