]> git.bitcoin.ninja Git - youtube-dl/commitdiff
fix increment operator
authornetanel <netanelmaman0@gmail.com>
Sat, 6 Dec 2014 07:20:35 +0000 (09:20 +0200)
committernetanel <netanelmaman0@gmail.com>
Sat, 6 Dec 2014 07:20:35 +0000 (09:20 +0200)
youtube_dl/extractor/eighttracks.py

index 101a096999b6b2b7c65104b2c1b245c7d233bc2f..f093592a85da872ca0b206d222e025c08f124dff 100644 (file)
@@ -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)