mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-06-06 14:05:21 -04:00
Fix #2091151 [MDE: UnboundLocalError in Invalid ISBN dialog](https://bugs.launchpad.net/calibre/+bug/2091151)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user