aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2014-05-20 19:44:42 +0700
committerSergey M․ <dstftw@gmail.com>2014-05-20 19:44:42 +0700
commit2902d44f994ec8140595855f8d5b85601fae164f (patch)
treeef7e29baf4217c4384998826b4b769f248249e74 /youtube_dl/extractor
parentd6e4ba287b910eb00867b14c94ac6fdddf10a7cf (diff)
[bandcamp] Replace maxsplit keyword argument with regular one
Named arguments are not supported by methods implemented in native C (see http://bugs.python.org/issue1176)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/bandcamp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/bandcamp.py b/youtube_dl/extractor/bandcamp.py
index be4123d85..dcbbdef43 100644
--- a/youtube_dl/extractor/bandcamp.py
+++ b/youtube_dl/extractor/bandcamp.py
@@ -37,7 +37,7 @@ class BandcampIE(InfoExtractor):
formats = []
for format_id, format_url in data['file'].items():
- ext, abr_str = format_id.split('-', maxsplit=1)
+ ext, abr_str = format_id.split('-', 1)
formats.append({
'format_id': format_id,
'url': format_url,