fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
51e1434
)
Minor API fix.
author
Radek Czajka
<rczajka@rczajka.pl>
Thu, 26 Mar 2020 10:09:02 +0000
(11:09 +0100)
committer
Radek Czajka
<rczajka@rczajka.pl>
Thu, 10 Sep 2020 12:15:10 +0000
(14:15 +0200)
src/catalogue/models/book.py
patch
|
blob
|
history
diff --git
a/src/catalogue/models/book.py
b/src/catalogue/models/book.py
index
81f3b79
..
d78a751
100644
(file)
--- a/
src/catalogue/models/book.py
+++ b/
src/catalogue/models/book.py
@@
-173,7
+173,7
@@
class Book(models.Model):
return self.tag_unicode('genre')
def translators(self):
return self.tag_unicode('genre')
def translators(self):
- translators = self.get_extra_info_json().get('translators')
+ translators = self.get_extra_info_json().get('translators')
or []
return [
'\xa0'.join(reversed(translator.split(', ', 1))) for translator in translators
]
return [
'\xa0'.join(reversed(translator.split(', ', 1))) for translator in translators
]