fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix for isbn import
[redakcja.git]
/
src
/
isbn
/
models.py
diff --git
a/src/isbn/models.py
b/src/isbn/models.py
index
14e973d
..
43d01bf
100644
(file)
--- a/
src/isbn/models.py
+++ b/
src/isbn/models.py
@@
-142,7
+142,7
@@
class Isbn(models.Model):
add_note = False
if isbn.book is None:
isbn.book = catalogue_book
- elif isbn.book
is not
catalogue_book:
+ elif isbn.book
!=
catalogue_book:
add_note = True
if not isbn.form:
isbn.form = form