Window now goes away, hopefully.
[mspang/pyceo.git] / ceo / urwid / library.py
index 3848ba8..b68c562 100644 (file)
@@ -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