X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/19e20c4e4b6a7940977a293698d61e75810ff321..0f7ebe49c20394d80afb129b29e4afa411347441:/apps/catalogue/models/book.py?ds=sidebyside diff --git a/apps/catalogue/models/book.py b/apps/catalogue/models/book.py index 39f2d0f4..ca389987 100755 --- a/apps/catalogue/models/book.py +++ b/apps/catalogue/models/book.py @@ -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)