From 3430472472f2802c5fc936175c4b51fa11222f98 Mon Sep 17 00:00:00 2001 From: Stephen Dranger Date: Wed, 23 Feb 2011 15:31:20 -0600 Subject: [PATCH] mac compat. thing --- pesterchum.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pesterchum.py b/pesterchum.py index 45b67c2..35aecf5 100644 --- a/pesterchum.py +++ b/pesterchum.py @@ -1030,7 +1030,10 @@ class PesterWindow(MovingWindow): if hasattr(self, 'moods'): self.moods.removeButtons() - self.moods = PesterMoodHandler(self, *[PesterMoodButton(self, **d) for d in theme["main/moods"]]) + mood_list = theme["main/moods"] + mood_list = [dict([(str(k),v) for (k,v) in d.iteritems()]) + for d in mood_list] + self.moods = PesterMoodHandler(self, *[PesterMoodButton(self, **d) for d in mood_list]) self.moods.showButtons() # chum addChumStyle = "QPushButton { %s }" % (theme["main/addchum/style"])