Skip to content

Commit 71057d3

Browse files
committed
From rjsparks@nostrum.com: Fixed Room.__unicode__() to handle capacity None.
- Legacy-Id: 8864
1 parent 1c4f8ae commit 71057d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/meeting/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ class Room(models.Model):
240240
resources = models.ManyToManyField(ResourceAssociation, blank = True)
241241

242242
def __unicode__(self):
243-
return "%s size: %u" % (self.name, self.capacity)
243+
return "%s size: %s" % (self.name, self.capacity)
244244

245245
def delete_timeslots(self):
246246
for ts in self.timeslot_set.all():

0 commit comments

Comments
 (0)