From: netanel Date: Sat, 6 Dec 2014 07:20:35 +0000 (+0200) Subject: fix increment operator X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=754f0008ec6b87316ce3e4807f150726ff2af3c5;p=youtube-dl fix increment operator --- 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)