diff --git a/undercover/pdf_builder.py b/undercover/pdf_builder.py index 3f9dce2..bac4120 100644 --- a/undercover/pdf_builder.py +++ b/undercover/pdf_builder.py @@ -76,13 +76,13 @@ class CLData: result = subprocess.run( [ - 'gs' - '-sDEVICE=pdfwrite' - '-dCompatibilityLevel=1.5' - '-dNOPAUSE' - '-dQUIET' - '-dBATCH' - '-dPrinted=false' + 'gs', + '-sDEVICE=pdfwrite', + '-dCompatibilityLevel=1.5', + '-dNOPAUSE', + '-dQUIET', + '-dBATCH', + '-dPrinted=false', '-sOutputFile=outputs/' + unique_id + '.compressed.pdf', 'outputs/' + unique_id + '.pdf' ],