File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -320,7 +320,7 @@ def split_pdf(
320320 if output_paths and i < len (output_paths ):
321321 save_file_output (result , output_paths [i ])
322322 else :
323- results .append (result ) # type: ignore[arg-type]
323+ results .append (result )
324324
325325 return results if not output_paths else []
326326
@@ -453,10 +453,9 @@ def duplicate_pdf_pages(
453453 parts .append ({"file" : "file" , "pages" : {"start" : page_index , "end" : page_index }})
454454 else :
455455 # For positive indexes, create single-page range with exclusive end
456- parts .append ({
457- "file" : "file" ,
458- "pages" : {"start" : page_index , "end" : page_index + 1 }
459- })
456+ parts .append (
457+ {"file" : "file" , "pages" : {"start" : page_index , "end" : page_index + 1 }}
458+ )
460459
461460 # Build instructions for duplication
462461 instructions = {"parts" : parts , "actions" : []}
You can’t perform that action at this time.
0 commit comments