WallDrillBox: Fix inheritance mess

This commit is contained in:
Florian Festi 2022-06-10 23:32:32 +02:00
parent 17e527484f
commit 52ec9af104
1 changed files with 3 additions and 2 deletions

View File

@ -18,12 +18,13 @@ from boxes import *
from .drillstand import DrillStand
from boxes.walledges import WallMountedBox
class WallDrillBox(WallMountedBox, DrillStand):
class WallDrillBox(DrillStand, WallMountedBox):
"""Box for drills with each compartment with a different height"""
def __init__(self):
super().__init__()
WallMountedBox.__init__(self) # don't call DrillStand.__init__
self.addSettingsArgs(edges.StackableSettings, height=1.0, width=3)
self.buildArgParser(sx="25*6", sy="10:20:30", sh="25:40:60")
self.argparser.add_argument(
"--extra_height", action="store", type=float, default=15.0,