mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[refactor] Do not specify redundant None as second argument in dict.get()
This commit is contained in:
		| @@ -157,7 +157,7 @@ class FileDownloader(object): | ||||
|  | ||||
|     def slow_down(self, start_time, now, byte_counter): | ||||
|         """Sleep if the download speed is over the rate limit.""" | ||||
|         rate_limit = self.params.get('ratelimit', None) | ||||
|         rate_limit = self.params.get('ratelimit') | ||||
|         if rate_limit is None or byte_counter == 0: | ||||
|             return | ||||
|         if now is None: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․