Skip to content

A feature-rich command-line audio/video downloader

fix increment operator

netanel754f0008ec6b
diff --git a/youtube_dl/extractor/eighttracks.py b/youtube_dl/extractor/eighttracks.py
index 101a096999..f093592a85 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)