From 37f56398e1bc113712b58d2de1e022317a082872 Mon Sep 17 00:00:00 2001 From: David Kaufmann Date: Tue, 11 Dec 2018 16:10:09 +0100 Subject: [PATCH] allow to specify terms for camunda.py --- camunda-overlay/camunda.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/camunda-overlay/camunda.py b/camunda-overlay/camunda.py index 514b508..8b462f3 100755 --- a/camunda-overlay/camunda.py +++ b/camunda-overlay/camunda.py @@ -121,6 +121,7 @@ if __name__ == "__main__": parser.add_argument('--no-deploy', dest='deploy', default=True, action='store_false', help="Do not run the deployment step") parser.add_argument('--no-cleanup', dest='cleanup', default=True, action='store_false', help="Initial deploy does not need cleanup") parser.add_argument('--autoclick', dest='autoclick', type=int, default=0, help="How many steps to autoclick") + parser.add_argument('--term', dest='terms', type=str, nargs='*', default=["aic", "TU Wien"], help="How many steps to autoclick") args = parser.parse_args() if args.deploy: @@ -131,7 +132,7 @@ if __name__ == "__main__": if args.autoclick >= 1: # start clicking - submit_terms(["voting", "phonegate", "35c3"]) + submit_terms(args.terms) if args.autoclick >= 2: download_pdf() -- 2.43.0