Skip to content

Commit a48cb0f

Browse files
author
Rodelph
committed
token access path update
1 parent 7e77a5f commit a48cb0f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
!ARchivist_document_generatorr/_ARMarker/Markers
2121
/ARchivist_document_generator/_ARMarker/Markers/*.meta
2222
/ARchivist_document_generator/_ARMarker/Markers/*.asset
23+
/__pycache__/*
2324

2425
# MemoryCaptures can get excessive in size.
2526
# They also could contain extremely sensitive data

ARchivist_document_generator/PDFEngineGit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def process_pdf_metadata(pdf_path, url):
124124

125125
doc.close()
126126

127-
with open('access.txt', 'r') as file:
127+
with open('github_access_key.txt', 'r') as file:
128128
access_token = file.read().strip()
129129
github = Github(access_token)
130130
repo = github.get_repo('seanscofield/archivist')

0 commit comments

Comments
 (0)