From 370b446414459c4753185471f37dbdaf0fdb2ed9 Mon Sep 17 00:00:00 2001 From: Michael Gregson Date: Wed, 11 Mar 2009 02:24:57 -0400 Subject: [PATCH] Window now goes away, hopefully. --- ceo/urwid/library.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceo/urwid/library.py b/ceo/urwid/library.py index 3848ba8..b68c562 100644 --- a/ceo/urwid/library.py +++ b/ceo/urwid/library.py @@ -134,9 +134,9 @@ class BookAddPage(WizardPanel): if currents.count() == 0: lib.Book(isbn=isbn, title=book.title, year=book.year, publisher=book.publisher) + pop_window() else: set_status("Book already exists, fucker.") - except PyMazonError, e: set_status("Amazon thinks this is not a book. Take it up with them.") return False