X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6d42bc478e3d1bd90eb294464748c21e4de0fc63..f0f0f13c94ff22d0f8a105c604252c6d678a9bab:/src/club/payu/views.py

diff --git a/src/club/payu/views.py b/src/club/payu/views.py
index 3f06b3773..6074b3d2f 100644
--- a/src/club/payu/views.py
+++ b/src/club/payu/views.py
@@ -1,5 +1,5 @@
-# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
-# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+# This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
 #
 from hashlib import md5, sha256
 from django.conf import settings
@@ -75,7 +75,7 @@ class NotifyView(View):
             return http.HttpResponseBadRequest('wrong')
 
         notification = order.notification_set.create(
-            body=request.body
+            body=request.body.decode('utf-8')
         )
         notification.apply()