Fixing bookpage of checked out books
authorMichael Gregson <mgregson@csclub.uwaterloo.ca>
Fri, 25 Jul 2008 04:05:55 +0000 (22:05 -0600)
committerMichael Gregson <mgregson@csclub.uwaterloo.ca>
Fri, 25 Jul 2008 04:05:55 +0000 (22:05 -0600)
ceo/urwid/library.py

index 3ccc609..47cba64 100644 (file)
@@ -262,7 +262,7 @@ class BookPage(BookPageBase):
             self.checkout_label.set_text("Checked In")
             self.checkout_button.set_label("Check Out")
         else:
-            self.checkout_label.set_text(self._book.signout)
+            self.checkout_label.set_text(self._book.signout._repr_())
             self.checkout_button.set_label("Check In")
         
     def save(self, *sender):