Don't print compression command
This commit is contained in:
parent
161b20f39d
commit
8bae3ebacf
1
latty.py
1
latty.py
|
@ -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],
|
||||||
|
|
Loading…
Reference in New Issue