From 4808745f004c5b7234e8d6899e1a291d50f6054a Mon Sep 17 00:00:00 2001 From: Hellowlol Date: Wed, 9 Dec 2015 00:37:34 +0100 Subject: [PATCH] failed so hard --- plexpy/pmsconnect.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/plexpy/pmsconnect.py b/plexpy/pmsconnect.py index 98bb1a1e..27aac26e 100644 --- a/plexpy/pmsconnect.py +++ b/plexpy/pmsconnect.py @@ -916,15 +916,6 @@ class PmsConnect(object): return t_result - t_result = [i for i in t_result if not i['viewCount'] or i['lastViewedAt'] <= watched_older_then] - - if sort: - logger.debug('Sorted on %s' % sort) - t_result = sorted(t_result, key=lambda k: k[sort], reverse=True) - - return t_result - - def get_current_activity(self): session_data = self.get_sessions(output_format='xml')