From a76de9518318e6d401585c8a69f84d5da7085a9a Mon Sep 17 00:00:00 2001 From: Johnny Robeson Date: Sun, 12 Jun 2016 01:19:39 -0400 Subject: [PATCH] return a bytestring path from RemoteArtSource --- beetsplug/fetchart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beetsplug/fetchart.py b/beetsplug/fetchart.py index 3514956f7..5eb120a65 100644 --- a/beetsplug/fetchart.py +++ b/beetsplug/fetchart.py @@ -243,7 +243,7 @@ class RemoteArtSource(ArtSource): fh.write(chunk) self._log.debug(u'downloaded art to: {0}', util.displayable_path(fh.name)) - candidate.path = fh.name + candidate.path = util.bytestring_path(fh.name) return except (IOError, requests.RequestException, TypeError) as exc: