Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
oczkers committed Jul 21, 2017
1 parent b0ee19d commit b919709
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion pdeo/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,4 @@ def get(self, destination='.', quality='1080p', min_size=0):
input('next?') # DEBUG
# tvshows = self.db.load(category='')


# TODO: logger like in fut
2 changes: 0 additions & 2 deletions pdeo/databases/trakt.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ def __tokenRefresh(self): # shouldn't this be private?

def loadCollection(self, category='movies'):
"""Loads collection, returns list of movies."""
self.loadShows()
adadsdas
rc = self.r.get('https://api.trakt.tv/sync/collection/%s' % category).json()
return [m[category[:-1]] for m in rc] # TODO?: parse data (could be usefull to unify with tvshows)

Expand Down

0 comments on commit b919709

Please sign in to comment.