Skip to content

Commit 2a76d72

Browse files
authored
Merge pull request #76 from ggurioli/branch_unused
Removing unused variables from shaft.py and propeller.py
2 parents a559a11 + 684f657 commit 2a76d72

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

bladex/propeller.py

+2-2
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, add_menu, add_function_to_menu = init_display()
78+
display, start_display = init_display()[:2]
7979
display.DisplayShape(self.sewed_full_body, update=True)
80-
start_display()
80+
start_display()

bladex/shaft.py

+2-2
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, add_menu, add_function_to_menu = init_display()
58+
display, start_display = init_display()[:2]
5959
display.DisplayShape(shaft_solid, update=True)
60-
start_display()
60+
start_display()

0 commit comments

Comments
 (0)