aboutsummaryrefslogtreecommitdiffstats
path: root/tech-support/labels
diff options
context:
space:
mode:
Diffstat (limited to 'tech-support/labels')
-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,