X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/3204e4303148302d278036eebcfc8cb105cc97d7..5de19acd15a14ea2551ad57b28debc708043d830:/src/catalogue/models/image.py?ds=sidebyside diff --git a/src/catalogue/models/image.py b/src/catalogue/models/image.py index 8cadcec2..dbe1c047 100755 --- a/src/catalogue/models/image.py +++ b/src/catalogue/models/image.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- -# # This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later. # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # @@ -101,7 +99,7 @@ class Image(dvcs_models.Document): return None def accessible(self, request): - return self.public or request.user.is_authenticated() + return self.public or request.user.is_authenticated def is_new_publishable(self): change = self.publishable()