From 7e2324d47b6234dc7c44937e006ccdc8d8c2a0aa Mon Sep 17 00:00:00 2001 From: Matthias Bernien <matthias.bernien@ptb.de> Date: Wed, 31 May 2023 10:58:24 +0200 Subject: [PATCH] no cert flag --- auto-ks.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/auto-ks.py b/auto-ks.py index 453d863..a603da5 100755 --- a/auto-ks.py +++ b/auto-ks.py @@ -52,6 +52,11 @@ def main(): else: show = False + if '--nocert' in args: + nocert = True + else: + nocert = False + if '--dcc' in args: dcc = True else: @@ -123,8 +128,9 @@ def main(): print("The files are dumped in {tmp}!".format(tmp=tmp_folder)) print("\n") print("\n") - ret = subprocess.getoutput(cmd_cert_doc) - print("✓ cert document generated") + if not nocert: + ret = subprocess.getoutput(cmd_cert_doc) + print("✓ cert document generated") ret = subprocess.getoutput(cmd_tex_file) print("✓ LaTeX file generated") -- GitLab