Spaces:
Paused
Paused
Captain Ezio
commited on
Commit
·
49bf1cd
1
Parent(s):
54d3fe2
- 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 |
|