Window now goes away, hopefully.

This commit is contained in:
Michael Gregson 2009-03-11 02:24:57 -04:00
parent d230578ff9
commit 370b446414
1 changed files with 1 additions and 1 deletions

View 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