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:
parent
7eca5a6c05
commit
529574fb5d
|
@ -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")
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue