From 754f0008ec6b87316ce3e4807f150726ff2af3c5 Mon Sep 17 00:00:00 2001 From: netanel Date: Sat, 6 Dec 2014 09:20:35 +0200 Subject: [PATCH] fix increment operator --- youtube_dl/extractor/eighttracks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)