Skip to content

Commit

Permalink
WallDrillBox: Fix inheritance mess
Browse files Browse the repository at this point in the history
  • Loading branch information
florianfesti committed Jun 10, 2022
1 parent 17e5274 commit 52ec9af
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions boxes/generators/walldrillbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@
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,
Expand Down

0 comments on commit 52ec9af

Please sign in to comment.