Upgrade django-pipeline to fix conflict with sentry-sdk.
[wolnelektury.git] / src / picture / models.py
index 1ad09e2..875ebcc 100644 (file)
@@ -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)