Skip to content

Commit 9ede1d3

Browse files
committed
Fix python error
1 parent 1d08975 commit 9ede1d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

publish.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
PR = os.getenv('PR_LIST_FILE')
99
API_KEY = os.getenv('DEV_TO_TOKEN')
1010
STATUS=0
11-
PAGE=0
1211

1312
# get_article_id allows us to find an article id by attempting to match against the title
1413
def get_article_id(title):
14+
PAGE=0
1515
r = requests.get(url = API_ENDPOINT + "/me/all?page=" + str(PAGE), headers = headers)
1616
article_data = r.json()
1717
while article_data:

0 commit comments

Comments
 (0)