X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/19e20c4e4b6a7940977a293698d61e75810ff321..487b568e93d4d60df5aa46c4cdc7d69b7378ccf7:/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)