Skip to content

Commit 8083c24

Browse files
fixed issues
1 parent d723d47 commit 8083c24

File tree

3 files changed

+3
-45
lines changed

3 files changed

+3
-45
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,5 +158,4 @@ cython_debug/
158158
# and can be added to the global gitignore or merged into this file. For a more nuclear
159159
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
160160
.idea/
161-
label.py
162161

generate_jwt.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import os
55
import requests
66
from dotenv import load_dotenv
7-
from label import create_github_label
87

98
def create_jwt(private_key, app_id):
109
"""
@@ -14,9 +13,9 @@ def create_jwt(private_key, app_id):
1413
:return:
1514
"""
1615
# Open PEM
17-
with open(private_key, 'rb') as pem_file:
18-
signing_key = jwk_from_pem(pem_file.read())
19-
# signing_key = jwk_from_pem(private_key.encode('utf-8'))
16+
# with open(private_key, 'rb') as pem_file:
17+
# signing_key = jwk_from_pem(pem_file.read())
18+
signing_key = jwk_from_pem(private_key.encode('utf-8'))
2019

2120
payload = {
2221
# Issued at time

label.py

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)