From f5d7764571d9b6f0acc71297c1bf557756957db7 Mon Sep 17 00:00:00 2001 From: Ray Date: Mon, 30 Mar 2009 11:59:07 -0400 Subject: [PATCH] Remove another comprehension not working as expected in kill() --- pyfpdb/Hud.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyfpdb/Hud.py b/pyfpdb/Hud.py index ebf7054f..cf96893f 100644 --- a/pyfpdb/Hud.py +++ b/pyfpdb/Hud.py @@ -197,7 +197,8 @@ class Hud: s.window.destroy() self.stat_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 = [] def reposition_windows(self, *args):