Don't print compression command

This commit is contained in:
Sage Vaillancourt 2021-07-31 18:47:51 -04:00
parent 161b20f39d
commit 8bae3ebacf
1 changed files with 0 additions and 1 deletions

View File

@ -65,7 +65,6 @@ class CLData():
print(build_text + "[SUCCESS]") print(build_text + "[SUCCESS]")
threading.Timer(60 * 5, cleanup, [output_dir + unique_id]).start() threading.Timer(60 * 5, cleanup, [output_dir + unique_id]).start()
compress_com = "gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.5 -dNOPAUSE -dQUIET -dBATCH -dPrinted=false -sOutputFile=outputs/" + unique_id + ".compressed.pdf outputs/" + unique_id + ".pdf" compress_com = "gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.5 -dNOPAUSE -dQUIET -dBATCH -dPrinted=false -sOutputFile=outputs/" + unique_id + ".compressed.pdf outputs/" + unique_id + ".pdf"
print(compress_com)
result = subprocess.run( result = subprocess.run(
['bash', '-c', compress_com], ['bash', '-c', compress_com],