X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/f8237807eed38189cf909c73d37c2b3d1e2d584a..a4d28c35907d5b4e4a3c4bd0ae289d00afdec69d:/src/contact/models.py diff --git a/src/contact/models.py b/src/contact/models.py index 929106eaa..e3659908a 100644 --- a/src/contact/models.py +++ b/src/contact/models.py @@ -23,7 +23,7 @@ class Contact(models.Model): if type(value) in (tuple, list, dict): value = yaml.safe_dump(value, allow_unicode=True, default_flow_style=False) if for_html: - value = smart_text(value).replace(" ", unichr(160)) + value = smart_text(value).replace(" ", chr(160)) return value class Meta: