aboutsummaryrefslogtreecommitdiffstats
path: root/tech-support/labels/main.py
diff options
context:
space:
mode:
authorHåkon Solbjørg <hlsolbjorg@gmail.com>2019-04-02 20:08:09 +0200
committerHåkon Solbjørg <hlsolbjorg@gmail.com>2019-04-02 20:08:16 +0200
commit7cd4617b362b99562e265fd9715764e4976cdf3e (patch)
treeb7ae384ea3cc28f3550dd73b0baeb659faf43e26 /tech-support/labels/main.py
parentcf5ca630fe3e34172ba1216e7e33d0f284d43ba7 (diff)
fix: Support AP-less mode for cable label generation 🙊
Diffstat (limited to 'tech-support/labels/main.py')
-rw-r--r--tech-support/labels/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tech-support/labels/main.py b/tech-support/labels/main.py
index b4f7c53..a8a0ed7 100644
--- a/tech-support/labels/main.py
+++ b/tech-support/labels/main.py
@@ -48,7 +48,7 @@ if __name__ == "__main__":
if args.labler[0] == "c":
make_cable_labels(switches,
- aps=args.ap,
+ aps=args.ap if args.ap is not None else [],
ap_file=args.aps_file,
copies=args.copies,
outfile=args.outfile,