From d32aa0015425a97657bf7ac8b660e1bcf83c7041 Mon Sep 17 00:00:00 2001 From: Johnny Robeson Date: Tue, 9 Aug 2016 04:34:40 -0400 Subject: [PATCH] remove bytes() on maxwidth in artresizer This would definitely break on py3. --- beets/util/artresizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beets/util/artresizer.py b/beets/util/artresizer.py index c1382b5bf..bc9f4409b 100644 --- a/beets/util/artresizer.py +++ b/beets/util/artresizer.py @@ -43,7 +43,7 @@ def resize_url(url, maxwidth): """ return '{0}?{1}'.format(PROXY_URL, urlencode({ 'url': url.replace('http://', ''), - 'w': bytes(maxwidth), + 'w': maxwidth, }))