Skip to content

Commit 684f657

Browse files
committed
Assigning the first two variables to init_display
1 parent eff4eb2 commit 684f657

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bladex/propeller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,6 @@ def display(self):
7575
"""
7676
Display the propeller with shaft.
7777
"""
78-
display, start_display, _, _ = init_display()
78+
display, start_display = init_display()[:2]
7979
display.DisplayShape(self.sewed_full_body, update=True)
8080
start_display()

bladex/shaft.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ def display(self):
5555
Display the shaft.
5656
"""
5757
shaft_solid = self.generate_solid()
58-
display, start_display, _, _ = init_display()
58+
display, start_display = init_display()[:2]
5959
display.DisplayShape(shaft_solid, update=True)
6060
start_display()

0 commit comments

Comments
 (0)