DanichOne commited on
Commit
bfe5c5c
·
verified ·
1 Parent(s): 6b267be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -87,6 +87,7 @@ def get_proposals():
87
  f"https://api.polkassembly.io/api/v1/posts/on-chain-post?proposalType={REFERENDUM_TYPE}&postId={POST_ID}",
88
  headers={"x-network": "kusama"})
89
  if rn.ok:
 
90
  proposal_data = rn.json()
91
  line = [proposal_data.get("content"), proposal_data.get("status"), get_sum(proposal_data.get("content"))]
92
  df.loc[POST_ID] = line
 
87
  f"https://api.polkassembly.io/api/v1/posts/on-chain-post?proposalType={REFERENDUM_TYPE}&postId={POST_ID}",
88
  headers={"x-network": "kusama"})
89
  if rn.ok:
90
+ print(POST_ID)
91
  proposal_data = rn.json()
92
  line = [proposal_data.get("content"), proposal_data.get("status"), get_sum(proposal_data.get("content"))]
93
  df.loc[POST_ID] = line