Remove another comprehension not working as expected in kill()
This commit is contained in:
parent
5505ebdec2
commit
f5d7764571
|
@ -197,7 +197,8 @@ class Hud:
|
||||||
s.window.destroy()
|
s.window.destroy()
|
||||||
self.stat_windows = {}
|
self.stat_windows = {}
|
||||||
# also kill any aux windows
|
# also kill any aux windows
|
||||||
(aux.destroy() for aux in self.aux_windows)
|
for aux in self.aux_windows:
|
||||||
|
aux.destroy()
|
||||||
self.aux_windows = []
|
self.aux_windows = []
|
||||||
|
|
||||||
def reposition_windows(self, *args):
|
def reposition_windows(self, *args):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user