Remove redundant split
This commit is contained in:
parent
af411224ea
commit
530e1d5e07
|
@ -1394,7 +1394,7 @@ class Misc:
|
|||
self.tk.call('bind', self._w, sequence, '')
|
||||
else:
|
||||
funcs = self.tk.call('bind', self._w, sequence, None).split('\n')
|
||||
keep = '\n'.join(f for f in funcs.split('\n')
|
||||
keep = '\n'.join(f for f in funcs
|
||||
if not f.startswith(f'if {{"[{funcid}'))
|
||||
self.tk.call('bind', self._w, sequence, keep)
|
||||
self.deletecommand(funcid)
|
||||
|
|
Loading…
Reference in New Issue