From cf637a4ce6bd9315df244ee4e41391641913bc82 Mon Sep 17 00:00:00 2001 From: Worros Date: Sat, 11 Apr 2009 14:38:46 +0800 Subject: [PATCH] Make Grapher use get_supported_sites() properly --- pyfpdb/GuiGraphViewer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyfpdb/GuiGraphViewer.py b/pyfpdb/GuiGraphViewer.py index 5afc4a92..8899c576 100644 --- a/pyfpdb/GuiGraphViewer.py +++ b/pyfpdb/GuiGraphViewer.py @@ -185,7 +185,7 @@ class GuiGraphViewer (threading.Thread): print "self.sites[%s] set to %s" %(site, self.sites[site]) def fillPlayerFrame(self, vbox): - for site in self.conf.supported_sites.keys(): + for site in self.conf.get_supported_sites(): pathHBox = gtk.HBox(False, 0) vbox.pack_start(pathHBox, False, True, 0) pathHBox.show() @@ -194,7 +194,7 @@ class GuiGraphViewer (threading.Thread): self.createPlayerLine(pathHBox, site, player) def fillSitesFrame(self, vbox): - for site in self.conf.supported_sites.keys(): + for site in self.conf.get_supported_sites(): hbox = gtk.HBox(False, 0) vbox.pack_start(hbox, False, True, 0) hbox.show()