DmitrMakeev commited on
Commit
f092a9c
·
1 Parent(s): 7b0bd1e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -23,10 +23,7 @@ def avp():
23
  result = {}
24
  for key, value in incoming.items():
25
  if value.isdigit():
26
- if int(value) > 0:
27
- result[key] = str(int(value) - 1)
28
- else:
29
- result[key] = value
30
  else:
31
  result[key] = value
32
  response = jsonify(result)
 
23
  result = {}
24
  for key, value in incoming.items():
25
  if value.isdigit():
26
+ result[key] = str(int(value) - 1)
 
 
 
27
  else:
28
  result[key] = value
29
  response = jsonify(result)