From efa4ae0f6f150ec127d48d2607f9d10cfeff7975 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stefan=20K=C3=B6gl?= Date: Wed, 10 Jun 2015 18:19:50 +0000 Subject: [PATCH] [Podcasts] fix Python3 unicode error --- mygpo/podcasts/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mygpo/podcasts/models.py b/mygpo/podcasts/models.py index b5e1669f..7d92d498 100644 --- a/mygpo/podcasts/models.py +++ b/mygpo/podcasts/models.py @@ -167,7 +167,7 @@ class UrlsMixin(models.Model): ) next_order += 1 except IntegrityError as ie: - err = str(ie).decode('utf-8') + err = str(ie) logger.warn(u'Could not add URL: {0}'.format(err)) continue -- 2.11.4.GIT