mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-14 09:40:10 +00:00
test
This commit is contained in:
parent
73de67d7e2
commit
9892cd9a3f
3 changed files with 13 additions and 13 deletions
|
|
@ -50,11 +50,11 @@ def report_status(name, start_time, exit=None):
|
|||
'Authorization': f'Bearer {must_get_env("GITHUB_APP_TOKEN")}',
|
||||
'content-type':'application/json'
|
||||
},
|
||||
data=json.dumps(data)
|
||||
data=bytes(json.dumps(data), 'UTF-8')
|
||||
)
|
||||
|
||||
try:
|
||||
with urllib.request.urlopen(request) as response:
|
||||
with urllib.request.urlopen(req) as response:
|
||||
response_code = response.getcode()
|
||||
response_data = response.read()
|
||||
print(f"{response_code} updated status {data}: {response_data}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue