Skip to content

Commit

Permalink
Remove type hint causing regression
Browse files Browse the repository at this point in the history
Fixes #1386
  • Loading branch information
rockstorm101 committed Oct 19, 2023
1 parent 0cce8ce commit b3a9e80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion printrun/gui/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ def replace_all(self):
self.text_cntrl.SetInsertionPoint(position)
self.text_cntrl.ShowPosition(position)

def bools_to_flags(self, bools: tuple | list) -> int:
def bools_to_flags(self, bools) -> int:
'''Converts a tuple of bool settings into an integer
that is readable for wx.FindReplaceData'''
matchcase = wx.FR_MATCHCASE if bools[0] else 0
Expand Down

0 comments on commit b3a9e80

Please sign in to comment.