Skip to content

Commit 58b18a7

Browse files
committed
Fixing bundle_pdf-worker.py
1 parent 0b05abf commit 58b18a7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Diff for: scripts/bundle_pdf-worker.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
import time
77
import urllib.request
88

9-
commit_hash = "897513ca6427e148d36c9105f1f54f5afc5e28f6"
9+
pdf_worker_commit_hash = "01901bf65e12741e727df38eaaa24a67d4fc6a5e"
10+
pdf_worker_wrapper_version="1"
1011

11-
pdf_worker_download_url = "https://zotero-download.s3.amazonaws.com/ci/client-pdf-worker/" + commit_hash + ".zip"
12+
pdf_worker_download_url = "https://zotero-download.s3.amazonaws.com/ci/client-pdf-worker/" + pdf_worker_commit_hash + ".zip"
1213

1314
# Get bundle directory
1415
bundle_dir = os.path.join(os.path.abspath("."), "app" + os.sep + "src" + os.sep + "main" + os.sep + "assets")
@@ -23,7 +24,7 @@
2324
raise Exception(pdf_worker_dir + " is not a directory. Call update_bundled_data.py first.")
2425

2526
with open(os.path.join(bundle_dir, "pdf-worker_commit_hash.txt"), "w") as f:
26-
f.write(str(commit_hash))
27+
f.write(str(pdf_worker_wrapper_version))
2728

2829
# Download cmaps and standard_fonts
2930
cmaps_and_fonts_zip_file = os.path.join(pdf_worker_dir, "pdf_worker_cmaps_and_fonts.zip")

0 commit comments

Comments
 (0)