aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authornetanel <netanelmaman0@gmail.com>2014-12-06 09:20:35 +0200
committernetanel <netanelmaman0@gmail.com>2014-12-06 09:20:35 +0200
commit754f0008ec6b87316ce3e4807f150726ff2af3c5 (patch)
treea15f95765f4d8af8abc91191444177de36d2976d /youtube_dl
parent7b61ac3ddf0bfe660266e70fc7c10f048758698f (diff)
fix increment operator
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/eighttracks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/eighttracks.py b/youtube_dl/extractor/eighttracks.py
index 101a09699..f093592a8 100644
--- a/youtube_dl/extractor/eighttracks.py
+++ b/youtube_dl/extractor/eighttracks.py
@@ -135,7 +135,7 @@ class EightTracksIE(InfoExtractor):
if download_tries > 3:
raise
else:
- ++download_tries
+ download_tries += 1
time.sleep(avg_song_duration)
api_data = json.loads(api_json)