Update base.py

This commit is contained in:
Michael Shepanski 2017-02-26 21:10:28 -05:00 committed by GitHub
parent ccd3302f99
commit ec4d0d591d

View file

@ -1,6 +1,5 @@
# -*- coding: utf-8 -*-
import re
from plexapi import log, utils
from plexapi.compat import quote_plus, urlencode
from plexapi.exceptions import BadRequest, NotFound, UnknownType, Unsupported
@ -443,7 +442,7 @@ class Playable(object):
else:
download_url = self._server.url('%s?download=1' % location.key)
filepath = utils.download(download_url, filename=filename,
savepath=savepath, session=self._server._session)
savepath=savepath, session=self._server._session)
if filepath:
filepaths.append(filepath)
return filepaths