Skip to content

Commit

Permalink
Misc marisol fixes
Browse files Browse the repository at this point in the history
* put quotes around the prefix arg to the bates module, so you can use an prefix
* add pikepdf to the base requirements, at v6.2.4
  • Loading branch information
BryceStevenWilley committed Nov 22, 2022
1 parent c7943ce commit 995e193
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docassemble_base/docassemble/base/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -4343,7 +4343,7 @@ def bates_number(self, *pargs, **kwargs):
raise DAError("bates_number: area must be one of TOP_LEFT, TOP_RIGHT, BOTTOM_RIGHT, or BOTTOM_LEFT")
if filename is None:
filename = 'file.pdf'
args = [os.path.join(server.daconfig['modules'], 'bin', 'python'), '-m', 'docassemble.base.bates', '--prefix', str(prefix), '--digits', str(digits), '--start', str(start), '--area', area]
args = [os.path.join(server.daconfig['modules'], 'bin', 'python'), '-m', 'docassemble.base.bates', '--prefix', '"' + str(prefix) + '"', '--digits', str(digits), '--start', str(start), '--area', area]
for doc in docs:
if isinstance(doc, str):
args.append(doc)
Expand Down
1 change: 1 addition & 0 deletions docassemble_base/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ def find_package_data(where='.', package='', exclude=standard_exclude, exclude_d
"pdfminer.six==20220319",
"phonenumbers==8.12.46",
"Pillow==9.3.0",
"pikepdf==6.2.4",
"pkginfo==1.8.2",
"pluggy==1.0.0",
"ply==3.11",
Expand Down

0 comments on commit 995e193

Please sign in to comment.