From 32a76e2aadf731fa240018c90738ebd7c1de5c7d Mon Sep 17 00:00:00 2001 From: Andy Kittner Date: Wed, 7 Nov 2012 21:12:52 +0100 Subject: [PATCH] Fix UnicodeError on widgets page --- openslides/projector/projector.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openslides/projector/projector.py b/openslides/projector/projector.py index 9247a010b..a35e0517b 100644 --- a/openslides/projector/projector.py +++ b/openslides/projector/projector.py @@ -139,6 +139,9 @@ class Widget(object): def __repr__(self): return unicode(self.display_name) + def __unicode__(self): + return unicode(self.display_name) + @receiver(projector_overlays, dispatch_uid="projector_countdown") def countdown(sender, **kwargs):