Skip to content

Commit

Permalink
Resolve #186
Browse files Browse the repository at this point in the history
  • Loading branch information
nutjob4life committed Sep 11, 2024
1 parent da62c73 commit 019f252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pds2/aipgen/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def _writetransfermanifest(fn: str, pathprefix: str, bac: dict) -> tuple[str, in
for lidvid, files in bac.items():
for f in files:
# We use [:254] because we hard code the ``/``:
entry = f"{lidvid:255}/{_urltocommonpath(f.url, pathprefix)[:254]}\r\n".encode("utf-8")
entry = f"{lidvid:255}/{_urltocommonpath(f.url, pathprefix):254}\r\n".encode("utf-8")
o.write(entry)
hashish.update(entry)
size += len(entry)
Expand Down

0 comments on commit 019f252

Please sign in to comment.