From eb5106409259144159c46cd4c2470621f4d6abe9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5kon=20Solbj=C3=B8rg?= Date: Tue, 2 Apr 2019 00:59:16 +0200 Subject: =?UTF-8?q?feat:=20Make=20it=20possible=20to=20configure=20the=20l?= =?UTF-8?q?abler=20from=20the=20CLI=20=F0=9F=9A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- switches.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'switches.py') diff --git a/switches.py b/switches.py index ab444c6..a218489 100644 --- a/switches.py +++ b/switches.py @@ -37,7 +37,7 @@ def write_html_to_file(html, outfile="switch_labels.html"): print("Wrote labels to '{}'.\nOpen the file in your browser and print it.".format(outfile)) -def make_switch_labels(switches): +def make_switch_labels(switches, outfile="switch_labels.html"): print("Generating labels for switches") labels = generate_labels(switches) - write_html_to_file(labels) + write_html_to_file(labels, outfile=outfile) -- cgit v1.2.3