diff options
author | netanel <netanelmaman0@gmail.com> | 2014-12-06 09:20:35 +0200 |
---|---|---|
committer | netanel <netanelmaman0@gmail.com> | 2014-12-06 09:20:35 +0200 |
commit | 754f0008ec6b87316ce3e4807f150726ff2af3c5 (patch) | |
tree | a15f95765f4d8af8abc91191444177de36d2976d | |
parent | 7b61ac3ddf0bfe660266e70fc7c10f048758698f (diff) |
fix increment operator
-rw-r--r-- | youtube_dl/extractor/eighttracks.py | 2 |
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) |