X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/87e084d47c335cd6f0b3e91d614999f55d148044..274de65ca44c680c6c555c599ec32428c79db356:/src/catalogue/models/collection.py diff --git a/src/catalogue/models/collection.py b/src/catalogue/models/collection.py index bae1cc418..d51932841 100644 --- a/src/catalogue/models/collection.py +++ b/src/catalogue/models/collection.py @@ -33,7 +33,7 @@ class Collection(models.Model): try: return re.search(r'\w', self.title, re.U).group(0) except AttributeError: - return None + return '' @models.permalink def get_absolute_url(self):