Window now goes away, hopefully.
This commit is contained in:
parent
d230578ff9
commit
370b446414
|
@ -134,9 +134,9 @@ class BookAddPage(WizardPanel):
|
||||||
if currents.count() == 0:
|
if currents.count() == 0:
|
||||||
lib.Book(isbn=isbn, title=book.title,
|
lib.Book(isbn=isbn, title=book.title,
|
||||||
year=book.year, publisher=book.publisher)
|
year=book.year, publisher=book.publisher)
|
||||||
|
pop_window()
|
||||||
else:
|
else:
|
||||||
set_status("Book already exists, fucker.")
|
set_status("Book already exists, fucker.")
|
||||||
|
|
||||||
except PyMazonError, e:
|
except PyMazonError, e:
|
||||||
set_status("Amazon thinks this is not a book. Take it up with them.")
|
set_status("Amazon thinks this is not a book. Take it up with them.")
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Reference in New Issue