X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ff382f6c37063c0c4c5d21c2834a8759e25c5d02..4bffd2cec099a05edc28f997a72451525a58b844:/src/api/handlers.py

diff --git a/src/api/handlers.py b/src/api/handlers.py
index d08812f41..5af5cfb64 100644
--- a/src/api/handlers.py
+++ b/src/api/handlers.py
@@ -1,4 +1,3 @@
-# -*- coding: utf-8 -*-
 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
 #
@@ -8,7 +7,7 @@ from catalogue.models import Book, Tag
 
 
 WL_BASE = lazy(
-    lambda: u'https://' + Site.objects.get_current().domain, unicode)()
+    lambda: 'https://' + Site.objects.get_current().domain, str)()
 
 category_singular = {
     'authors': 'author',