Skip to content

Commit 40c8d05

Browse files
committed
Attempt to use Oath2 token (RELEASEPATCH)
1 parent 4c91e03 commit 40c8d05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pypi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
release_json = {'tag_name': new_version, 'target_commitish': 'master', 'name': new_version, 'body': '', 'draft': False, 'prerelease': False}
4141

4242
try:
43-
response = requests.post('https://api.github.com/repos/voiceittech/voiceit2-python/releases', headers={'Authorization: token ' + gh_token}, data=json.dumps(release_json))
43+
response = requests.post('https://api.github.com/repos/voiceittech/voiceit2-python/releases', headers={'Authorization': 'token ' + gh_token}, data=json.dumps(release_json))
4444
print(response.text)
4545
except requests.exceptions.HTTPError as e:
4646
print(e.read())

0 commit comments

Comments
 (0)