mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Fix #2091151 [MDE: UnboundLocalError in Invalid ISBN dialog](https://bugs.launchpad.net/calibre/+bug/2091151)
This commit is contained in:
parent
a8ac58dd0e
commit
8c02414d84
@ -1854,7 +1854,7 @@ class ISBNDialog(QDialog): # {{{
|
||||
isbn = str(txt)
|
||||
ok = None
|
||||
if not isbn:
|
||||
pass
|
||||
extra = ''
|
||||
elif check_isbn(isbn) is not None:
|
||||
extra = _('This ISBN is valid')
|
||||
ok = True
|
||||
|
Loading…
x
Reference in New Issue
Block a user