Browse Source

fix increment operator

netanel 10 years ago
parent
commit
754f0008ec
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/eighttracks.py

+ 1 - 1
youtube_dl/extractor/eighttracks.py

@@ -135,7 +135,7 @@ class EightTracksIE(InfoExtractor):
                     if download_tries > 3:
                     if download_tries > 3:
                         raise
                         raise
                     else:
                     else:
-                        ++download_tries
+                        download_tries += 1
                         time.sleep(avg_song_duration)
                         time.sleep(avg_song_duration)
 
 
             api_data = json.loads(api_json)
             api_data = json.loads(api_json)