From cd3933e2b704ec1c2f8b6ddd33dbe1bfa44b836f Mon Sep 17 00:00:00 2001 From: Matt Miller Date: Sun, 8 Dec 2019 00:19:56 -0500 Subject: [PATCH] returndata -> playlists --- asynccsv.py | 4 ++-- synccsv.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/asynccsv.py b/asynccsv.py index 0d08913..8487820 100644 --- a/asynccsv.py +++ b/asynccsv.py @@ -141,10 +141,10 @@ def _dictToList(self,dictdata): for season in self.seasons: for dictseason,v in newdict.items(): if season == dictseason: - if "All" in self.returndata: + if "All" in self.playlists: newlist.extend([v[k] for k in v]) else: - newlist.extend([v[k] for k in v if k in self.returndata]) + newlist.extend([v[k] for k in v if k in self.playlists]) return newlist async def _safe_download(self,gamertag,platform): diff --git a/synccsv.py b/synccsv.py index 9c9f595..ac123d5 100644 --- a/synccsv.py +++ b/synccsv.py @@ -151,10 +151,10 @@ def _dictToList(self,dictdata): for season in self.seasons: for dictseason,v in newdict.items(): if season == dictseason: - if "All" in self.returndata: + if "All" in self.playlists: newlist.extend([v[k] for k in v]) else: - newlist.extend([v[k] for k in v if k in self.returndata]) + newlist.extend([v[k] for k in v if k in self.playlists]) return newlist def checkFolders():