From 65973518f24c5629d0b8d3b18fb8afcf2e1860f7 Mon Sep 17 00:00:00 2001 From: Michael Ziegler Date: Tue, 14 Jul 2009 22:40:43 +0200 Subject: [PATCH] first alpha of a CLI to administer Murmur. this still needs a LOT of improvement, maybe an ncurses interface? --- pyweb/mumble/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyweb/mumble/models.py b/pyweb/mumble/models.py index 2e45668..c0d35e7 100755 --- a/pyweb/mumble/models.py +++ b/pyweb/mumble/models.py @@ -72,6 +72,8 @@ class Mumble( models.Model ): self._rootchan = None; def __unicode__( self ): + if not self.id: + return u'Murmur "%s" (NOT YET CREATED)' % self.name; return u'Murmur "%s" (%d)' % ( self.name, self.srvid );