From b54576f08fff13be5fb797ea549de270c60f7a4e Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Sun, 2 Aug 2020 22:09:40 -0700 Subject: [PATCH] Fix download API commands not returning the file * Fixes Tautulli/Tautulli-Issues#268 --- plexpy/api2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plexpy/api2.py b/plexpy/api2.py index 02664762..b5c06e14 100644 --- a/plexpy/api2.py +++ b/plexpy/api2.py @@ -646,7 +646,7 @@ General optional parameters: return out['response']['data'] elif self._api_cmd and self._api_cmd.startswith('download_'): - return + return out['response']['data'] elif self._api_cmd == 'pms_image_proxy': if 'return_hash' not in self._api_kwargs: