aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/livestreamer/plugins/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/livestreamer/plugins/__init__.py')
-rw-r--r--src/livestreamer/plugins/__init__.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/livestreamer/plugins/__init__.py b/src/livestreamer/plugins/__init__.py
index a4e39cc..fe62179 100644
--- a/src/livestreamer/plugins/__init__.py
+++ b/src/livestreamer/plugins/__init__.py
@@ -23,15 +23,15 @@ class Plugin(object):
self.args = args
def get_streams(self):
- ranking = ['iphonelow', 'iphonehigh', '240p', '360p', '480p', '720p',
- 'hd', '1080p', 'live']
+ ranking = ["iphonelow", "iphonehigh", "240p", "360p", "480p", "720p",
+ "hd", "1080p", "live"]
streams = self._get_streams()
for rank in reversed(ranking):
if rank in streams:
- streams['best'] = streams[rank]
+ streams["best"] = streams[rank]
break
return streams
-
+
def _get_streams(self):
raise NotImplementedError