fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade django-pipeline to fix conflict with sentry-sdk.
[wolnelektury.git]
/
src
/
picture
/
models.py
diff --git
a/src/picture/models.py
b/src/picture/models.py
index
1ad09e2
..
875ebcc
100644
(file)
--- a/
src/picture/models.py
+++ b/
src/picture/models.py
@@
-118,7
+118,7
@@
class Picture(models.Model):
try:
author = self.authors().first().sort_key
except AttributeError:
try:
author = self.authors().first().sort_key
except AttributeError:
- author =
u
''
+ author = ''
self.sort_key_author = author
ret = super(Picture, self).save(force_insert, force_update)
self.sort_key_author = author
ret = super(Picture, self).save(force_insert, force_update)