DmitrMakeev commited on
Commit
27ab1b6
1 Parent(s): 86f32f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def avp():
17
  incoming = request.get_json()
18
  print(incoming)
19
 
20
- bazis_out = incoming["bazis"]
21
 
22
  for key in bazis_out:
23
  if bazis_out[key] > 0:
 
17
  incoming = request.get_json()
18
  print(incoming)
19
 
20
+ bazis_out = incoming.get("bazis_out", {})
21
 
22
  for key in bazis_out:
23
  if bazis_out[key] > 0: