diff options
Diffstat (limited to 'releng/models.py')
-rw-r--r-- | releng/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/releng/models.py b/releng/models.py index b95f7d52..5ee2f325 100644 --- a/releng/models.py +++ b/releng/models.py @@ -160,7 +160,7 @@ class Release(models.Model): def torrent(self): try: - data = b64decode(self.torrent_data) + data = b64decode(self.torrent_data.encode('utf-8')) except TypeError: return None if not data: |