Omnibus commited on
Commit
e969e75
·
verified ·
1 Parent(s): 29146d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def get_api(inp,call,val,tot):
13
  try:
14
  r = requests.get(f'{inp}?{call}={i}')
15
  new_data=r.text
16
- new_dict = dict(new_data)
17
  #data = dict(data) + dict(new_data)
18
  #out={"id":r.text['id']}
19
  #print (out)
 
13
  try:
14
  r = requests.get(f'{inp}?{call}={i}')
15
  new_data=r.text
16
+ new_dict = json.loads(new_data)
17
  #data = dict(data) + dict(new_data)
18
  #out={"id":r.text['id']}
19
  #print (out)