Captain Ezio commited on
Commit
f3d4252
·
1 Parent(s): 7c290dd
Files changed (1) hide show
  1. Powers/plugins/utils.py +1 -1
Powers/plugins/utils.py CHANGED
@@ -298,8 +298,8 @@ def paste(content):
298
  resp = resp_post(f"{BASE}api/v1/pastes", data=json.dumps(content), headers=headers)
299
  if resp.ok:
300
  return
301
- resp = resp.json()
302
  print(resp)
 
303
  return BASE + resp["result"]['key']
304
 
305
 
 
298
  resp = resp_post(f"{BASE}api/v1/pastes", data=json.dumps(content), headers=headers)
299
  if resp.ok:
300
  return
 
301
  print(resp)
302
+ resp = resp.json()
303
  return BASE + resp["result"]['key']
304
 
305