mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix new edit metadata dialog not automatically fixing isbns
This commit is contained in:
parent
2f408c170f
commit
3435831d52
@ -943,6 +943,10 @@ class IdentifiersEdit(QLineEdit): # {{{
|
|||||||
for x in parts:
|
for x in parts:
|
||||||
c = x.split(':')
|
c = x.split(':')
|
||||||
if len(c) == 2:
|
if len(c) == 2:
|
||||||
|
if c[0] == 'isbn':
|
||||||
|
v = check_isbn(c[1])
|
||||||
|
if v is not None:
|
||||||
|
c[1] = v
|
||||||
ans[c[0]] = c[1]
|
ans[c[0]] = c[1]
|
||||||
return ans
|
return ans
|
||||||
def fset(self, val):
|
def fset(self, val):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user