]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[soundcloud] Remove unused variable
authorSergey M․ <dstftw@gmail.com>
Sat, 21 Nov 2015 18:49:58 +0000 (00:49 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 21 Nov 2015 18:49:58 +0000 (00:49 +0600)
youtube_dl/extractor/soundcloud.py

index 9b252c4448bd3c896326c471d2bf2f9e96477340..02e64e09436a5299c5d4f87f1a3ba871c63af230 100644 (file)
@@ -493,7 +493,7 @@ class SoundcloudSearchIE(SearchInfoExtractor, SoundcloudIE):
     _API_V2_BASE = 'https://api-v2.soundcloud.com'
 
     def _get_collection(self, endpoint, collection_id, **query):
-        limit = results_per_page = min(
+        limit = min(
             query.get('limit', self._DEFAULT_RESULTS_PER_PAGE),
             self._MAX_RESULTS_PER_PAGE)
         query['limit'] = limit