Enable context menu in My page too
[redakcja.git] / apps / catalogue / models / book.py
index 39f2d0f..ca38998 100755 (executable)
@@ -343,7 +343,7 @@ class Book(models.Model):
                 except:
                     pass
                 else:
-                    if info.cover_source == image.get_absolute_url():
+                    if info.cover_source == image.get_full_url():
                         update['dc_cover_image'] = image
         Book.objects.filter(pk=self.pk).update(**update)