Dispenser: Fix sideedges parameter

Looks like both the ArgparseEdgeType machinery and the inx conversion
should be more robust...

Thanks to https://github.com/lucky62 for reporting!

Resolves: #369
This commit is contained in:
Florian Festi 2022-02-16 17:16:36 +01:00
parent 7eca5a6c05
commit 529574fb5d
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ Please add mounting holes yourself."""
help="height underneath the dispenser (in mm)")
self.argparser.add_argument(
"--sideedges", action="store", type=ArgparseEdgeType("Fh"),
default="F",
choices=list("Fh"), default="F",
help="edges used for holding the front panels and back")